1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 12:28:06 +02:00
xburst-tools/xbboot/scripts/boot-echo.sh
Xiangfu Liu efed24a9a2 let strtoul auto deal '0x' and decimal string
correct the request type in usb_control_msg should USB_ENDPOINT_IN

Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-08-21 18:07:08 +08:00

10 lines
348 B
Bash
Executable File

#!/bin/bash
../host-app/xbboot set_addr 0x80002000
../host-app/xbboot bulk_write ../target-stage1/stage1.bin
../host-app/xbboot start1 0x80002000
../host-app/xbboot get_info
../host-app/xbboot set_addr 0x81c00000
../host-app/xbboot bulk_write ../target-echokernel/echo-kernel.bin
../host-app/xbboot flush_cache
../host-app/xbboot start2 0x81c00000