ARM64 – Odroid C2 – Boots with Kernel 4.10-rc1 – Ethernet OK? – Not yet..

After applying the aarch64 compile fix (see previous article) I was able to compile Kernel 4.10-rc1 on the Odroid C2, and it boots OK (headless..), and the Ethernet link stays up, but still needs the TX patch..   (updated, as the … Continue reading

ARM64 – Catastrophic Compile Errors with 4.10-rc1 – and a Fix..

Tried compiling Kernel 4.10-rc1 for aarch64, and got – literally – hundreds of errors: …… ./include/linux/sched.h:3299: Error: unknown mnemonic `return’ — `return test_ti_thread_flag(task_thread_info(tsk),flag)’ ./include/linux/sched.h:3300: Error: junk at end of line, first unrecognized character is `}’ ./include/linux/sched.h:3302: Error: unknown mnemonic `static’ … Continue reading

ARM64 – Odroid C2 – Latest Ethernet Patch..

After some of the recent ‘Ethernet fix’ patches have not worked with more recent linux-next kernels, I have found one that – at least at the moment – does fix the ‘hang’ problem – again.. The patch is applied to … Continue reading

ARM64 – Odroid C2 – Tested with Linux Net-Next – Ethernet Still Hangs..

Recent versions of the Linux net-next tree could not be tested on the C2, as the meson-gx mmc driver was missing, but now it has been added, and I tested the latest version (December 17) – but the Ethernet hang … Continue reading

ARM64 – Odroid C2 – Ethernet Broken Again?

I had been trying to apply the latest round of Meson TX delay patches to the latest linux-next tree, but found that there seems to be a conflict with some of these..    The December 1 patched kernel now has some … Continue reading

ARM64 – Odroid C2 – A Better Ethernet Fix..

The old meson Ethernet fix/patch/hack no longer applies cleanly to the latest (December 1) linux-next, but – fortunately – there is a ‘better’ patch available for the meson8b-dwmac driver itself.. Details can be found in this thread:  http://lists.infradead.org/pipermail/linux-amlogic/2016-November/001675.html I have … Continue reading

ARM64 – Odroid C2 – Boots with Linux-Next..

The ‘linux-next’ kernel branch has included the meson/gxbb mmc driver for some time, but the boot process hung on root disk access.     I tested with the latest (November 17) version, and this time, the boot process completed successfully: Fedora 25 … Continue reading

ARM64 – Odroid C2 – Ethernet Fix, at Last..

Thanks to Jerome Brunet, there is now a fix for the long-standing Ethernet hang problem on the C2..   Details are here:   http://lists.infradead.org/pipermail/linux-amlogic/2016-November/001538.html The patch is an attachment – named ‘attachment.bin‘, and so will need to be renamed to something appropriate..     … Continue reading

ARM64 – Odroid C2 – Hack to Fix Ethernet Hangs..

I had been constantly frustrated by the Odroid C2 meson8b-dwmac Ethernet ‘hang’ problem, which has persisted over (at least..) eight different ‘patched kernel’ versions that I have tested..    The network link hung/stopped after a short time at full (1000Mbps) speed, … Continue reading

ARM64 – Odroid C2 – New MMC Driver, Ethernet / USB Still Broken..

After some of the code for the C2 has been removed from various git repositories, there is a new 4.9-rc1-based tree at https://git.kernel.org/cgit/linux/kernel/git/khilman/linux-amlogic.git/?h=v4.10/integ , which now includes the ‘new’ rewritten MMC driver. To select this, choose ‘Amlogic S905/GX* SD/MMC Host … Continue reading