Banana Pi 编译 Bootup u-boot

1. compile u-boot
$ git clone git://github.com/linux-sunxi/u-boot-sunxi.git
$ make Cubieboard2_config
$ make
2. burn u-boot
$ dd if=/dev/zero of=/dev/sdb bs=1M count=1
$ dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8
3. start u-boot

--->8---
U-Boot SPL 2014.04-rc2-10390-g96510e1 (Apr 04 2014 - 21:11:38)
Board: Cubieboard2
DRAM: 1024 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600


U-Boot 2014.04-rc2-10390-g96510e1 (Apr 04 2014 - 21:11:38) Allwinner Technology

CPU: Allwinner A20 (SUN7I)
Board: Cubieboard2
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: Phy not found
dwmac.1c50000
Warning: failed to set MAC address

Hit any key to stop autoboot: 0
---8<---

你可能感兴趣的:(pi,banana)