Hello,
I’m trying to boot my own generated Linux Image with the latest U-Boot( 2019.04). But I have some problems:
- Uboot try directly to boot Kernel.img instead of reading my s905_autoscript/boot.ini
- I converted my Image with:
“mkimage -n ‘Kernel Image’ -A arm64 -O linux -C none -T kernel -a 0x8000 -e 0x8000 -d Image kernel.img”
But when it boots I have this following error:
reading kernel.img 19556928 bytes read in 1064 ms (17.5 MiB/s) reading dtb.img 26209 bytes read in 5 ms (5 MiB/s) ee_gate_off ... ## Booting kernel from Legacy Image at 01080000 ... Image Name: Kernel Image Image Type: AArch64 Linux Kernel Image (uncompressed) Data Size: 19556864 Bytes = 18.7 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK load dtb from 0x1000000 ...... Loading Kernel Image(COMP_NONE) ... OK kernel loaded at 0x00008000, end = 0x012aea00 "Synchronous Abort" handler, esr 0x96000210 ELR: 77ebc184 LR: 77ebc154 x0 : 0000000000008000 x1 : 0000000001080000 x2 : 0000000077ed49d0 x3 : 0000000000000001 x4 : 0000000000000030 x5 : 0000000000000000 x6 : 00000000ffffffd8 x7 : 0000000000000004 x8 : 0000000000000031 x9 : 0000000000000000 x10: 000000000000000f x11: 0000000073e9df48 x12: 0000000077f34000 x13: 0000000000000000 x14: 0000000000000000 x15: 0000000000000000 x16: 0000000000000000 x17: 0000000000000000 x18: 0000000073e9ee28 x19: 0000000077f6ebe8 x20: 0000000000008000 x21: 00000000012aea00 x22: 000000000000070f x23: 0000000000000000 x24: 0000000000000000 x25: 0000000000000000 x26: 0000000073ebab58 x27: 0000000077f60190 x28: 0000000001080040 x29: 0000000073e9e3e0
What I did:
- Compile Uboot from the Khadas Git
- Compile the mainline Uboot (and follow the guide README.khadas-vim](https://github.com/u-boot/u-boot/blob/master/board/amlogic/p212/README.khadas-vim)
- Flash uboot.bin.sd.bin into my sdcard.img
- Use meson-gxl-s905x-khadas-vim.dtb from my compiled linux
Any idead? - Generated the s905_autoscript with mkimage -A arm -O linux -T script -C none -d boot.ini s905_autoscript
Any idea ?