@LiquidAcid I see in that commit range that you have merged and cleaned up ARM's driver, that's great. Can't wait to give it a try.
Not sure if it has been mentioned, but once u-boot is built one needs to copy the dtb this way:
Code: Select all
cp ./arch/arm/dts/exynos4412-odroid.dtb /mnt/realBoot/exynos4412-odroidu3.dtb
The name must be exactly
exynos4412-odroidu3.dtb, at least in u-boot v2015.01 which I am currently trying.
I built 4.4.y and I am using LiquidAcid's vanilla config (I just removed the -vanilla local suffix); the u-boot process seems fine:
Code: Select all
U-Boot 2015.01 (Mar 28 2016 - 14:23:59)
CPU: Exynos4412@1000MHz
Board: Odroid based on Exynos4412
Model: u3
I2C: ready
DRAM: 2 GiB
Board PMIC init
MMC: SAMSUNG SDHCI: 0, EXYNOS DWMMC: 1
*** Warning - bad CRC, using default environment
DFU alt info setting: done
Net: No ethernet found.
Hit any key to stop autoboot: 0
reading exynos4412-odroidu3.dtb
13425 bytes read in 31 ms (422.9 KiB/s)
reading uInitrd
2418815 bytes read in 190 ms (12.1 MiB/s)
reading zImage
2518808 bytes read in 195 ms (12.3 MiB/s)
Kernel image @ 0x40007fc0 [ 0x000000 - 0x266f18 ]
## Loading init Ramdisk from Legacy Image at 42000000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 2418751 Bytes = 2.3 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 40800000
Booting using the fdt blob at 0x40800000
Loading Ramdisk to 4fdb1000, end 4ffff83f ... OK
Loading Device Tree to 4fdaa000, end 4fdb0470 ... OK
Starting kernel ...
Only problem is that it gets stuck at that line "Starting kernel ..." and CPU goes probably at 100% use (fan gets spinning). At this point I guess there's something wrong with the initramfs/kernel, I'll keep tinkering around it (not the first time I've seen this behavior). Once fixed this I'll probably try latest u-boot mainline.
Edit: same behavior by removing the uInitrd
Edit 2: other differences I noticed: a boot.scr which works with Hardkernel's older version of u-boot will not work with a more recent (v2015.01) u-boot, thus it will try to boot from the default partition 2 of the SD card instead of boot.scr's specified kernel command line rootfs