U-Boot: How to bring it on the Blackfin

Aus BECOM Systems Support
Version vom 31. Oktober 2023, 09:03 Uhr von Peter (Diskussion | Beiträge) (1 Version importiert)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Load u-boot via UART

  • Set boot mode to 111.
  • 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.