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
Hello Richard,
did you get it working? Odroid-XU with recent kernel?
Thanks Pavol
No, although I didn’t try that hard.
It turns out that big.LITTLE may not be a great platform for virtualization anyway, at least until someone does a bunch of work.
Hi, i need to update the kernel on odroid xu from 3.4 to >3.8 for compatibility reason. I not need to use gpio or virtualization, i only need a kernel capable to boot from sd, and use usb peripherics like wifi, webcam, and audio/video acquisition. I have the odroid only from few days, so i start now to experiment with compilation and configuration, do you think that i can upgrade the kernel? Can you explain me where i can found the kernel source and tips for moduleconfig?
Thanks a lot
You need to ask questions like this in the right places.
Thanks for the detailed posts, got 3.13 compiled and running on my XU based on these instruction (from this branch https://github.com/hardkernel/linux/tree/odroid-3.13.y-linaro)
Interesting thanks. I just upgraded my XU to Fedora 20 (since hardware-wise it’s the fastest 32 bit ARM hardware I own), so it would be worth also updating to a new kernel.
Hi, note that you have a mismatch between LOADADDR=40008000 and 43000000 later used for loading the uImage. You can use a zImage instead of the uImage, to avoid that.
hi rich,
here’s some setup steps for the XU4:
https://matrix-universe.eu/drupal7/?q=cookbooks/microcloud/cookbook-odroid-xu4-deployment