[Avila] Oops, flashed redboot
Joel Lindsay
joel at waveteq.com
Mon Jan 15 19:56:26 EST 2007
Hi,
I followed these directions using the newest gateworks reboot source code
(changed the two parameters in the redboot source and recompiled). I then
did a fis init and replaced my images on the flash. I am still getting an
error from the kernel about FIS and Redboot not ending/starting on boundary.
Did I miss doing something? Is there something else I have to do not
included in http://lists.unixstudios.net/avila/2006/11/635
Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0x7e0000
6 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 6 MTD partitions on "IXP4XX-Flash.0":
0x00000000-0x00080000 : "RedBoot"
0x00080000-0x00180000 : "zImage"
0x00180000-0x00580000 : "ramdisk"
0x00580000-0x00680000 : "persistant"
0x007e0000-0x007ff000 : "FIS directory"
mtd: partition "FIS directory" doesn't end on an erase block -- force
read-only
0x007ff000-0x00800000 : "RedBoot config"
mtd: partition "RedBoot config" doesn't start on an erase block boundary --
force read-only
NET: Registered protocol family 2
Thanks,
Joel Lindsay
Waveteq Communications
(250) 766-9229
----- Original Message -----
From: "David Acker" <dacker at roinet.com>
To: "'Avila'" <avila at lists.unixstudios.net>
Sent: Wednesday, December 20, 2006 8:33 AM
Subject: RE: [Avila] Oops, flashed redboot
Subject: [Avila] >> -----Original Message-----
>> From: Joel Lindsay [mailto:joel at waveteq.com]
>> Sent: Wednesday, December 20, 2006 2:22 AM
>> To: 'Avila'
>> Subject: [Avila] Oops, flashed redboot
>>
>> Hi,
>>
>> Please note I am using the 2347 Rev C 1 port board.
>>
>> I tried to flash redboot as I wanted to use netflash to
>> update my firmware from a cgi form. It was all working great
>> except I was getting CRC errors when checking the FIS partitions.
>>
>> Reading the mailing list archives I learned that this was
>> because I needed to turn off the CRC checking in redboot.
>>
>
> Well, you can keep your crc checking if you do the following:
> Turn off readonly redboot partitions in the kernel config.
>
> Fix redboot to put the redboot and fis partition in separate flash blocks
> and size them properly. This will make mtd happy and thus allow fconfig
> to
> work.
> http://lists.unixstudios.net/avila/2006/11/635
>
> Use fconfig to update redboot configuration data.
> http://lists.unixstudios.net/avila/2006/11/629
>
> Use the attached fis program to update the checksums in your fis
> directory.
> fis <mtd_device> <fis_name> <file>
> where mtd_device is the fis directory device, fis_name is the name of the
> partition you will be copying to, and file is the file that will be
> copied.
> For example:
> fis /dev/mtdblock7 zImage /tmp/zImage
>
> The program is GPL as it uses redboot's crc code which is GPL. Enjoy!
> -Ack
>
--------------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> 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