On Sat, Feb 21, 2009 at 6:58 PM, Andy Ruhl
<acruhl%gmail.com@localhost> wrote:
> I will briefly describe how I put NetBSD in flash on my slug. This
> needs a redboot update as I mentioned before and we are dealing with
> flash so be careful.
> Because I work with many arm platforms I rename the slug kernel to
> nslubsd.bin.gz
>
> lo -r -b 0x200000 nslubsd.bin.gz
> fis create NetBSD4 -f 0x50400000 -l 0x00200000 -r 0x00200000 -e 0x00200000
>
> At this point NetBSD is in flash. Using the fconfig command I can save
> the following script in flash. When the slug is powered or rebooted
> this script runs and boots the kernel.
>
> fis loa -d NetBSD4
> go
Let me ask you a more pointed question than I did before.
This looks like you're loading a gzipped kernel into flash.
I assume you don't care about the stock firmware, so that gets
overwritten. Do you have the ability to reload the stock firmware? I
I have never used the stock firmware but I guess one could use redboot or jtag to restore the device.
assume this might be possible with all the tools from the nslu2-linux
site.
You mentioned also that you're using a NetBSD kernel to load another
NetBSD kernel, I'm not aware of how to do that. If you could point me
to documentation, that would be great. You also mentioned that you
might be doing this on a DNS-323, which is another device entirely.
I'm semi interested in getting one of those since it has faster
storage.
I have no documentation yet. This is an ugly hack I came up with a few days ago.
I like DNS-323 but I think you should compare with other NAS devices using the same CPU like the kurobox which has twice the ram and a better bootloader. You might also find that the slug is fast enough for what you want to do. It is also 8 times smaller and uses less power.
Luazi