Flashing PXA27M bootloader: Difference between revisions

From Phobos Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
# Start second terminal, use telnet to connect to OpenOCD daemon.
# Start second terminal, use telnet to connect to OpenOCD daemon.
#* bash$> telnet localhost 4444
#* bash$> telnet localhost 4444
 
#* reset halt
'''pooleli!!!'''
#* 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




== Reference material ==  
== Reference material ==  
*[http://voipac.com/downloads/jtag/doc/vpaclink-jtag.txt Installing OpenOCD]
*[http://voipac.com/downloads/jtag/doc/vpaclink-jtag.txt Installing OpenOCD]

Revision as of 10:06, 11 April 2011

Necessary software

Using OpenOCD

  1. 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
  2. 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
  3. 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


Reference material