Flashing PXA27M bootloader
Jump to navigation
Jump to search
Necessary software
- Installing OpenOCD
- tftp server
- konsole/ssherminator - allows you to open as many terminals in one window as you need
- During this procedure you're gonna need at least three
- Media:Libftd2xx0.4.13.tar.gz
- Media:Openocd 1.0.1383 i386.tar.gz
- Media:Voipac-pxa27x xloader.tar.gz
- Media:Voipac-pxa27x-u-boot nostart.tar
- Media:Voipac-pxa27x u-boot original.tar
Using OpenOCD
- Start the first terminal and write
- bash$> openocd -f vpac270.cfg
- Error: unable to open ftdi device: 18
- OpenOCD needs usbfs
- bash$> mount -t usbfs none /proc/bus/usb
- Error: unable to open ftdi device: 2
- You need root privileges
- log in as root or
- bash$> sudo openocd -f vpac270.cfg
- Error: unable to open ftdi device: 18
- bash$> openocd -f vpac270.cfg
- Start second terminal, use telnet to connect to OpenOCD daemon.
- bash$> telnet localhost 4444
- reset halt
- load_image /tftpboot/u-boot_noboot.bin 0x5c010000
- resume 0x5c010000
- Start third terminal
- minicom gw6uboot
- set ipaddr 10.0.0.22;set serverip 10.0.0.16;erase 1:0-2;tftp x-load.bin;cp.b a1000000 0 400;tftp u-boot.bin;cp.b a1000000 800 $(filesize);reset