Previously and previously. Will it be third time lucky?
I’m going to document the steps from the start. Note I’m building this on the hardware, not cross-compiling, since the ODROID-XU (Exynos 5410) with an external hard drive is fast (for ARM). Also note you’ll need to make your own serial port or buy one.
Clone this git repository which is based on upstream 3.12.3. Build it:
make odroidxu_defconfig LOADADDR=40008000 make uImage dtbs make modules
Install the kernel, device tree, and modules:
sudo cp arch/arm/boot/uImage /boot/uboot/uImage-3.12.3 sudo cp arch/arm/boot/dts/exynos5410-odroidxu.dtb /boot/uboot/ sudo make modules_install
Build an initramfs:
# First print the kernel version: make kernelrelease sudo mkinitrd ./initrd-3.12.3 3.12.3-78393-g3886709 mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n uInitrd -d initrd-3.12.3 uInitrd-3.12.3 sudo cp uInitrd-3.12.3 /boot/uboot/
Reboot, and be ready to interrupt u-boot by hitting a key on the serial console at the right moment.
sync sudo reboot
At the u-boot prompt type:
set bootargs console=ttySAC2,115200n8 loglevel=9 earlyprintk root=UUID=ad455a75-609c-4b3c-956b-bcef3ebc4603 ro fatload mmc 0 43000000 uimage-3.12.3 fatload mmc 0 46000000 uinitrd-3.12.3 fatload mmc 0 49000000 exynos5410-odroidxu.dtb bootm 43000000 46000000 49000000
Unfortunately (1):
[ 0.390000] CPU: All CPU(s) started in SVC mode.
and unfortunately (2):
[ 5.780000] systemd[1]: Running in initial RAM disk. Welcome to Fedora 20 (Heisenbug) dracut-034-19.git20131021.fc20 (Initramfs)! [ 5.810000] Unhandled fault: imprecise external abort (0x1406) at 0x00000000 [ 5.810000] systemd[1]: Caught , dumped core as pid 1220. [ 5.820000] systemd[1]: Freezing execution. [ 5.890000] usb 1-2: new high-speed USB device number 2 using s5p-ehci [ 6.040000] usb 1-2: New USB device found, idVendor=0424, idProduct=9730 [ 6.040000] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 6.050000] usb 1-2: no of_node; not parsing pinctrl DT [ 6.180000] usb 1-3: new high-speed USB device number 3 using s5p-ehci [ 6.420000] usb 1-3: New USB device found, idVendor=0424, idProduct=3503 [ 6.420000] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 6.430000] usb 1-3: no of_node; not parsing pinctrl DT [ 6.430000] hub 1-3:1.0: no of_node; not parsing pinctrl DT [ 6.440000] hub 1-3:1.0: USB hub found [ 6.440000] hub 1-3:1.0: 3 ports detected [ 6.730000] usb 1-3.2: new high-speed USB device number 4 using s5p-ehci [ 6.860000] usb 1-3.2: New USB device found, idVendor=04e8, idProduct=61b6 [ 6.860000] usb 1-3.2: New USB device strings: Mfr=1, Product=11, SerialNumber=3 [ 6.870000] usb 1-3.2: Product: Samsung M3 Portable [ 6.870000] usb 1-3.2: Manufacturer: JMicron [ 6.880000] usb 1-3.2: SerialNumber: 00000000011E4C02 [ 6.880000] usb 1-3.2: no of_node; not parsing pinctrl DT