1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-28 22:40:36 +02:00
xburst-tools/xbboot/scripts/boot-zImage.sh
2009-12-06 01:27:44 +08:00

13 lines
347 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 flush_cache
../host-app/xbboot set_addr 0x80600000
../host-app/xbboot bulk_write $1
../host-app/xbboot flush_cache
../host-app/xbboot start2 0x80600000