[Avila] Redboot on Avila Platform

Ron Eisworth reisworth at gateworks.com
Thu Mar 30 16:53:25 EST 2006


Phaneendra,
The binary file is a raw flash image which you must program with your JTAG
programmer. You cannot load it under Redboot.

Ron

-----Original Message-----
From: Phaneendra Piratla [mailto:ppiratla at globetelwireless.com]
Sent: Thursday, March 30, 2006 1:42 PM
To: Avila
Subject: [Avila] Redboot on Avila Platform
Subject: [Avila] Hello,
I have a custom binary file that contains zImage and root file system as
one single binary file.

Typically we were loading a ramdisk.gz and a zImage for the same board.

I was using the following at the Redboot prompt:

Redboot>load -r -v -b 0x00800000 ramdisk.gz
Redboot>load -r -v -b 0x01800000 zImage
Redboot>exec 0x01800000

and the kernel loads after this.

I was learnt that the magic number 0x0180000 came because of the size of
the ramdisk is 16MB and hence the zImage is loaded at the end of
0x00800000 + 16MB = 0x01800000.

I am trying to load the current binary file onto GW 2348 board. This
file contains both the zImage and RFS as one single .bin file. I have no
idea how big is the file system as we were given only the binary file
and no separate RFS file was given to us in the package.

I tried the following at the Redboot:

Redboot>load -r -v -b 0x00800000 test.bin

I get the following:
Raw file loaded 0x00800000-0x0177ffff, assumed entry at 0x00800000

After this I execute the following at the Redboot prompt:

RedBoot> exec 0x00800000 -c "console=null,115200 root=/dev/mtdblock/2
rootfstype=jffs2 rw"
Using base address 0x00800000 and length 0x00f80000

My redboot just hangs there without displaying anything.

Can anybody shed some light on this?

Thanks for your help.

---------------------------------------------------------------------
To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
For additional commands, e-mail: avila-help at lists.unixstudios.net





More information about the Avila mailing list