-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brian J. Murrell wrote:
> On Wed, 2009-01-21 at 17:46 +0100, Harald Schiöberg wrote:
>> here is the script we use to boot an Openwrt from a running Openwrt.
>
> Thanx!
>
>> Make sure to have kexec-tools installed....
>
> Indeed.
>
>> kexec -l /mnt/openwrt-avila-zImage --append="rtc-ds1672.probe=0,0x68
>> root=$1 rootfstype=ext2 noinitrd console=ttyS0,115200 init=/etc/preinit"
>
> Can I ask, just to be clear, and so there are no nasty accidents here,
> what *exactly* is /mnt/openwrt-avila-zImage? I mean I understand it's a
> kernel, but I want to be sure in what format. For example in my
> build_dir/linux-brcm47xx/ dir I have:
>
> -rwxr-xr-x 1 brian brian 2596986 2009-01-23 03:38 vmlinux
> -rwxr-xr-x 1 brian brian 2602200 2009-01-23 03:38 vmlinux.elf
> -rw-r--r-- 1 brian brian 778706 2009-01-23 03:38 vmlinux.lzma
>
> Is it by chance the vmlinux.lzma image, or one of the other two, or
> something else altogether?
it is the very image that ends up in ${TOPDIR}/bin/openwrt-avila-zImage
and is usually flashed in a seperate flash partition. (on another arch
it will certainly have another name.)
I doubt that there can be nasty accidents: you can always reboot, since
you don't touch the internal flash at all....
harald
- --
Harald Schiöberg
Technische Universität Berlin | T-Laboratories | FG INET
www: http://www.net.t-labs.tu-berlin.de
Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJfX16y8wrZ9OvkU0RAsFUAKDgdyREuCDj1EucBPW/XYyckkGhfQCdG/aP
SZGlKw22lqDa+dxMgDPkhsg=
=aXEO
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel