sites

parazyd.cf website
git clone git://parazyd.org/sites.git
Log | Files | Refs

commit 4ff19622bb058e43378ecc3603ac650e30054ea4
parent 373a9b1c939ae8dc8f6582209942453837696af8
Author: parazyd <parazyd@dyne.org>
Date:   Thu, 12 Oct 2017 12:57:13 +0200

fixes to doc/odroidc2-mainline

Diffstat:
Mdoc/odroidc2-mainline.html.md | 18++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/doc/odroidc2-mainline.html.md b/doc/odroidc2-mainline.html.md @@ -6,6 +6,8 @@ unfortunately, we still require the binary blobs provided by hardkernel. This short guide should list all the steps needed in one place, for easy future reference. +With Linux 4.14, USB support seems broken, Gbit ethernet is okay. + ARM64 Toolchain --------------- @@ -35,9 +37,9 @@ Go inside the repo, and compile it. # make ARCH=arm CROSS_COMPILE=$compiler odroid-c2_defconfig # make ARCH=arm CROSS_COMPILE=$compiler -j4 - # mv u-boot.img ../ && cd .. + # mv u-boot.bin ../ && cd .. -This will provide us with `u-boot.img` we'll use later on. +This will provide us with `u-boot.bin` we'll use later on. Providing hardkernel's binary blobs @@ -77,8 +79,8 @@ We should be in the directory where `bl1.bin.hardkernel` and use `dd`, like always. # dd if=bl1.bin.hardkernel of=/dev/mmcblk0 conv=fsync bs=1 count=422 - # dd if=bl1.bin.hardkernel of=/dev/mmcblk0 conf=fsync bs=512 skip=1 seek=1 - # dd if=u-boot.gxbb of=/dev/mmcblk0 conf=fsync bs=512 seek=97 + # dd if=bl1.bin.hardkernel of=/dev/mmcblk0 conv=fsync bs=512 skip=1 seek=1 + # dd if=u-boot.gxbb of=/dev/mmcblk0 conv=fsync bs=512 seek=97 # sync; sync; sync If this went well, all that is left is providing a `boot.scr` @@ -89,14 +91,14 @@ boot.scr **boot.cmd**: - setenv bootargs console=ttyS0,115200 console=ttyAML0,115200n8 init=/init root=/dev/mmcblk0p2 rw rootwait - setenv initrd_high "0xffffffff" - setenv fdt_high "0xffffffff" + setenv bootargs console=ttyAML0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait + #setenv initrd_high "0xffffffff" + #setenv fdt_high "0xffffffff" load mmc 0 0x43000000 ${fdtfile} || load mmc 0 0x43000000 boot/${fdtfile} load mmc 0 0x41000000 Image || load mmc 0 0x41000000 boot/Image #load mmc 0 0x50000000 uInitrd #booti 0x41000000 0x50000000 0x43000000 - booti 0x41000000 0x43000000 + booti 0x41000000 - 0x43000000 Create `boot.scr` out of it: