narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
<xdarklight> BlueMatt: on a Meson8m2 board without hub: USB devices are hot-pluggable, everything works fine
<xdarklight> BlueMatt: on my Odroid-C1 (IIRC it has the same USB hub as the Odroid-C2): it's weird...
<xdarklight> C1 without devices plugged during boot: hot-plugging is not working
<xdarklight> C1 with USB thumb drive plugged during boot: thumb drive is not detect, hot-plugging is not working
<xdarklight> C1 with USB thumb drive and USB serial adapter plugged in during boot: all devices are detected at boot, hot-plugging doesn't work either
<Xogium> xdarklight: turns out upgrading from 4.19.3 to 4.19.56 fixed my strange issues with ethernet and giant ping rtt
<saintdev> xdarklight: I can't find a good guide for an Arch cross env. The only docs they have are for a distcc setup....which won't really work without network...
<Xogium> saintdev: what are you trying to do, traditional kernel compilation with a cross toolchain ?
<saintdev> Xogium: trying to compile the arch kernel with an additional patch, to (maybe) "fix" detecting the network PHY
<Xogium> with pkgbuild ?
<Xogium> I'd recommand a traditional kernel compilation for that tbh
<Xogium> that said
<Xogium> I suppose you could toy with makepkg somewhat
<Xogium> I think if you define the CROSS_COMPILE, CARCH and ARCH variables before your makepkg command on a x86 build machine, you can make it behave
<Xogium> what arm architecture is this ?
<saintdev> Xogium: i'm fine with the traditional compilation using the Arch config for testing, it would just make it far easier to be able to copy the package onto the sd card
<saintdev> armv7 (odroid-c1)
<Xogium> iirc, that's how I've done it, for testing packages
<Xogium> let me see
<Xogium> take the x-tools-armv7-bin package from aur
<Xogium> its going to install a toolchain under /opt
<Xogium> then when you want to compile the kernel you'll have to do like this
<Xogium> I take my own toolchain as example you will need to adjust settings of course
<Xogium> CROSS_COMPILE=/opt/x-tools/x-tools8/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu- CARCH=aarch64 ARCH=arm64 makepkg -sriA
<Xogium> the CARCH= variable should probably be armv7h
<saintdev> and ARCH=arm ?
<Xogium> not sure what variable the ARCH= should be, I'm guessing arm
<saintdev> Thanks a lot. That really helps. I'll give it a try.
<Xogium> no problem
<Xogium> and of course you need to adjust the path and such for the crosscompile toolchain, but well that's expected
<saintdev> yeah
<Xogium> I think that's how I've done it myself
<Xogium> its been a long time I did
<Xogium> once you know that its insanely easy to use that toolchain to crosscompile practically anything even from source
<Xogium> only easier thing is buildroot ;)
<Xogium> I've done a lot of that
return0e has quit [Ping timeout: 248 seconds]
<BlueMatt> xdarklight: ah! that sounds like what I saw, I'm presuming it may be number, or maybe ports which are plugged in during boot
return0e has joined #linux-amlogic
alienpirate5 has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 272 seconds]
Darkmatter66 has joined #linux-amlogic
return0e has quit [Read error: Connection reset by peer]
return0e_ has joined #linux-amlogic
nashpa has quit [Ping timeout: 246 seconds]
nashpa has joined #linux-amlogic
yann has quit [Ping timeout: 268 seconds]
ldevulder has joined #linux-amlogic
random_yanek has quit [Ping timeout: 244 seconds]
Darkmatter66 has quit [Ping timeout: 245 seconds]
Darkmatter66 has joined #linux-amlogic
random_yanek has joined #linux-amlogic
yann has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
sputnik_ has quit [Ping timeout: 245 seconds]
maciejjo has quit [Remote host closed the connection]
afaerber has joined #linux-amlogic
maciejjo has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 268 seconds]
vagrantc has joined #linux-amlogic
Lyude has quit [Read error: Connection reset by peer]
TheAssassin has quit [Remote host closed the connection]
Darkmatter66 has quit [Ping timeout: 248 seconds]
TheAssassin has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
<zkrx> The n2 can't reboot on v5.3/integ, the ROM bootloader won't detect the SD card anymore. Any hint about what's going on?
Lyude has joined #linux-amlogic
yann has quit [Ping timeout: 248 seconds]
return0e_ has quit [Ping timeout: 258 seconds]
return0e has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
yann has joined #linux-amlogic
return0e_ has joined #linux-amlogic
return0e has quit [Ping timeout: 246 seconds]
return0e has joined #linux-amlogic
return0e_ has quit [Ping timeout: 245 seconds]
afaerber has quit [Quit: Leaving]
Darkmatter66 has quit [Ping timeout: 258 seconds]
Darkmatter66 has joined #linux-amlogic
afaerber has joined #linux-amlogic
ldevulder has joined #linux-amlogic
ldevulder_ has quit [Ping timeout: 258 seconds]