Perhaps someone can give me a pointer or two.......
I'm using a fresh compile of u-boot-2015-10 with the most recent slackwarearm-current and have spent the afternoon trying to get the zImage-armv7 to boot off an sdcard on a bananapro.
u-boot sees the sdcard
Code:
=> ls mmc 0:1
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 20480 dtb
1060 boot.cmd
7864666 initrd-armv7
40981241 initrd-armv7.img
3842496 zImage-armv7
1132 boot.scr
however, I am unable to load the kernel
Quote:
Found U-Boot script /boot.scr
1132 bytes read in 121 ms (8.8 KiB/s)
## Executing script at 43100000
27637 bytes read in 713 ms (37.1 KiB/s)
** File not found zImage-arm7 **
** File not found initrd-arm7.img **
Bad Linux ARM zImage magic!
|
I've tried adapting a armbian boot.cmd from an image that I have booted successfully and have made attempts using a few other scripts and info found on the net, again unsuccessfully.
Originally I had everything in a directory named boot but to simplify things I've removed boot as shown above. Here is my boot.cmd
Code:
setenv bootcmd_generic 'debug earlyprintk sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1280x720p50 hdmi.audio=EDID:0'
setenv bootargs console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootwait=10
#
ext4load mmc 0:1 0x43000000 dtb/sun7i-a20-bananapro.dtb
ext4load mmc 0:1 0x47000000 zImage-arm7
ext4load mmc 0:1 0x48000000 initrd-arm7.img
bootz 0x47000000 - 0x48000000 - 0x43000000
It seems to me that the addressing of dtb, kernel and initrd are correct, the script is found by u-boot but I never am able to load the kernel