Date:2010-12-11 22:30:03 (13 years 3 months ago)
Author:Dmitriy Beykun
Commit:64290a8df006a42afc118fef18e0048e97d5535a
Message:Added typical XZ0032 linux flash script.

Files: script/flash_xz0032_linux.scr (1 diff)

Change Details

script/flash_xz0032_linux.scr
1#11.12.2010 --rzk
2# orig from http://pastie.org/1368585
3# fixes by whitequark
4
5echo "---- Linux kernel+loader+rootfs flashing script ----"
6echo "Including initial config for 4750 XZ0032 board"
7
8source config/boot.cfg
9
10echo "jzboot successfully configured for XZ0032"
11
12echo "Configuring for bootloader IO"
13source script/ecc_boot.scr
14echo "Configured for bootloader IO"
15
16echo "Erasing all flash"
17nerase 0 0 4096
18echo "Erased all flash"
19echo "Flashing loader"
20nprogram 0 0 u-boot-nand.bin
21echo "Flashed loader"
22echo "Flashing kernel"
23nprogram 0 2048 uImage
24echo "Flashed kernel"
25
26echo "Configuring for standard IO"
27source script/ecc_normal.scr
28echo "Configured for standard IO"
29
30echo "Flashing rootfs"
31nprogram 0 4096 rootfs.yaffs2
32echo "Flashed rootfs"
33
34echo "---- All done ----"

Archive Download the corresponding diff file



interactive