U-Boot: How to bring it on the Blackfin
Zur Navigation springen
Zur Suche springen
Load u-boot via UART
- Set boot mode to 111.
- Windows: Use "LdrViewer" and instructions from https://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:loading#ldrviewer
- Linux: Assuming /dev/ttyUSB2 is the serial connection to the Blackfin,
bfin-uclinux-ldr -l u-boot.ldr /dev/ttyUSB2 && kermit ~/stuff/ttyUSB2 ^serial device ^kermit conf file
The required files can be found at: https://blackfin.uclinux.org/gf/project/bluetechnix/frs/
Flash U-Boot with U-Boot
set serverip 192.168.0.56 set ipaddr 192.168.0.10 tftp 1000000 uboot+uImage.bin; protect off 0x20000000 +$(filesize); erase 0x20000000 +$(filesize); cp.b 1000000 20000000 $(filesize);
Afterwards set boot mode to 000 and press reset.
Load U-Boot over serial in Kermit
- In U-boot, type
loadb
- In Kermit, press Ctrl+\
- On Kermit prompt, type for example
send /tftpboot/u-boot.ldr
or
send /tftpboot/u-boot.bin
- On Kermit prompt, type
c
BlackSheep
- Load and run
- Set x-modem-protocol
- Send uBoot.ldr
xmr uboot.ldr exec -de uboot.ldr
- Load, store and run
- Set x-modem-protocol
- Send uBoot.hex
xmr uboot.hex flash -a uboot.hex load 1
Flash with gnICE
See GnIce.