U-boot for Banana Pi

TooMeeK Admin maps at toomeek.waw.pl
Thu Aug 14 10:56:42 UTC 2014

And that's where real problem comes :)
Over serial console - J11 connector - I have only view (read-only) access..
Different RX/TX pairs aren't giving any output.
So the only way for me is putting commands into boot.scr file.

echo "fatls mmc 0; fatload mmc 0 0x40200000 kernel; go 0x40200100" > 
/usr/src/u-boot-sunxi/tools/mkimage -C none -A arm -T script -d boot.cmd 

Gives output:
U-Boot SPL 2014.04-10700-g4e19806 (Aug 13 2014 - 14:44:36)
Board: Bananapi
DRAM: 1024 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600

U-Boot 2014.04-10700-g4e19806 (Aug 13 2014 - 14:44:36) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: Bananapi
I2C:   ready
DRAM:  1 GiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dwmac.1c50000
Hit any key to stop autoboot:  0
reading uEnv.txt
** Unable to read file uEnv.txt **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading boot.scr
119 bytes read in 21 ms (4.9 KiB/s)
Jumping to boot.scr
## Executing script at 44000000
reading kernel
Error reading cluster
** Unable to read file kernel **
## Starting application at 0x40200100 ...

And no file listing here?

> Please try to remove boot.scr from SD card and then put back SD card 
> and when u-boot prompt comes type:
> fatload mmc 0 0x40200000 kernel; go 0x40200100
> I think you can check whether kernel exist in fat partition of SD, 
> something like:
> fatls mmc 0
> Ganbold

More information about the freebsd-arm mailing list