Skip to content

Instantly share code, notes, and snippets.

@yamori813
Last active June 13, 2016 01:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yamori813/90199b5b16ca3ad9f063d70f76b9ccf9 to your computer and use it in GitHub Desktop.
Save yamori813/90199b5b16ca3ad9f063d70f76b9ccf9 to your computer and use it in GitHub Desktop.
RedBoot(tm) bootstrap and debug environment [ROMRAM]
OpenWrt certified release, version 1.1 - built 22:32:28, May 7 2007
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Board: FON 2201
RAM: 0x80000000-0x81000000, [0x80040290-0x80fe1000] available
FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
^C
RedBoot> ip_address -l 10.10.10.180 -h 10.10.10.3
IP: 10.10.10.180/255.255.255.0, Gateway: 0.0.0.0
Default server: 10.10.10.3
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> load -r -v -b 0x80050000 Fon_FON2201_kernel.gz.sync
Using default protocol (TFTP)
¥
Raw file loaded 0x80050000-0x801fffff, assumed entry at 0x80050000
RedBoot> fis create -e 0x80050100 kernel
... Erase from 0xa8030000-0xa81e0000: ...........................
... Program from 0x80050000-0x80200000 at 0xa8030000: ..........................
.
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> load -r -v -b 0x80050000 Fon_FON2201_rootfs_clean.iso.ulzma
Using default protocol (TFTP)
-
Raw file loaded 0x80050000-0x803d35ff, assumed entry at 0x80050000
RedBoot> fis create -e 0x00000000 rootfs
... Erase from 0xa81e0000-0xa8563600: ..........................................
...............
... Program from 0x80050000-0x803d3600 at 0xa81e0000: ..........................
...............................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> fis list
Name FLASH addr Mem addr Length Entry point
RedBoot 0xA8000000 0xA8000000 0x00030000 0x00000000
kernel 0xA8030000 0x80050000 0x001B0000 0x80050100
rootfs 0xA81E0000 0x80050000 0x00383600 0x00000000
FIS directory 0xA87E0000 0xA87E0000 0x0000F000 0x00000000
RedBoot config 0xA87EF000 0xA87EF000 0x00001000 0x00000000
RedBoot> fis load -d kernel
RedBoot> exec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment