Root/xbboot/scripts/boot-uboot.sh

1#!/bin/bash
2../host-app/xbboot set_addr 0x80002000
3../host-app/xbboot bulk_write ../target-stage1/stage1.bin
4../host-app/xbboot start1 0x80002000
5../host-app/xbboot get_info
6
7../host-app/xbboot flush_cache
8
9../host-app/xbboot set_addr 0x80100000
10../host-app/xbboot bulk_write $1
11../host-app/xbboot flush_cache
12../host-app/xbboot start2 0x80100000
13

Archive Download this file



interactive