• Home
  • Help
  • Search
  • Login
  • Register
Pages: 1 [2]
Author Topic: Included uImage too large to write to NAND  (Read 10312 times)
elBradford
Newbie
*

Karma: 0
Posts: 44


View Profile
« Reply #15 on: April 13, 2009, 04:33:59 PM »

A simple fix is to use the new uImage - uImage.SheevaPlug.040309 from the website.

I had the error w/ the original uImage, tried the new one, no error. Works like a charm.
Logged

moshiach
Guest
« Reply #16 on: April 13, 2009, 07:05:52 PM »

Well, sure, NOW there's a new image. 

But the good thing is that when I did all this it forced me to learn a lot about the uboot system. 
Logged

axman5389
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #17 on: April 14, 2009, 05:59:07 AM »

I've run into the bad CRC error before.  It ALWAYS happened when I flashed without erasing.  In fact just to test I reflashed my kernel and rebooted and sure enought here it was.  So you might try after getting a successful boot from tFTP:
flash_eraseall /dev/mtd1
nandwrite -pm /dev/mtd1 <yourimage>



Thanks for the tip - much appreciated.
I've done this process 3 times on the plug, I've run flash_eraseall each time.
I've used nandwrite with -p flag, and I've used cat image > /dev/mtd1.  In all of these cases, the 2nd time I cold boot, it fails with bad data CRC.

Your suggestion has one new element I've not seen before:  the -m flag..  I'll try it.
Logged

Pages: 1 [2]
Print
Jump to: