Work with a modified snakeos and need to use a serial ttl to upload
the OS image.
Here is memory map:
0x30000000-0x00FFFFFF - is a mapped flash memory (16mb)
0x30000000-0x3003FFFF - bootloader Snakeos image should start from
0x30040000 (length = 0x3b0000 bytes) The kernel should be at
0x30060000 after flashing and it length is 0xf0000 bytes.
I used this uboot commands to flash that image through tftp server:
1) tftpboot 0x100000 snakeos.bin
2) cp.b 0x100000 0x30040000 0x3b0000
3) setenv boot_cmd cp.b 0x30060000 0x100000 0xf0000\; go 0x100000
4) saveenv
then reboot. should work
if it not booting, try to run manually first:
1) cp.b 0x30060000 0x100000 0xf0000
2) go 0x100000
On Apr 30, 7:55 pm, Stefan Scheffler <
stefanscheff...@gmx.net> wrote:
> Oh well
>
> Running the kernel directly from 0x60000 doesn't work. The windrunner
> uboot is probably expecting a uImage there. Which i think are
> automatically copied to an address embeddeded in the image before beeing
> run.
>
> To run a zImage you have to copy it into a higher address manually. So
> when you get a chance try something like:
> setenv bootcmd cp.b 0x30060000 0x1000000 0xf0000\;go 0x1000000
>
> The commands in bootcmd are run at startup. The above will copy the
> kernel and run it from the new address.
>
> To test it run "boot" If that worked you can save the settings to flash
> with "saveenv".
>
> Am Sat, 28 Apr 2012 23:16:16 -0700
> schrieb
kneegrople...@gmail.com:
>
>
>
>
>
>
>
> > Well, I got pissed and switched the flash chip from my ns-k330 with my
> > windrunner and cheated a LOT. tore up some pads on the windrunner
> > though and have ordered another one. son of a bitch, I'll post the
> > output of printenv as soon as it gets here and I tftp the snake image
> > to it. I did successfully flash the rootfs.jffs2 and would only need
> > to tftp the zImage and go 1000000, whenever I tried to copy the
> > zImage to address 60000 (the correct location according to "printenv"
> > I get no output and am brought straight back to the prompt.
>
> > On Sat, Apr 28, 2012 at 5:25 PM, Stefan Scheffler
> > <
stefanscheff...@gmx.net>wrote:
>
> > > Can you post the output of uboots printenv command?
>
> > > Am Fri, 27 Apr 2012 17:57:19 -0700 (PDT)
> > > schrieb Pedro <
kneegrople...@gmail.com>: