Re: Booting and Running Kernel From NAND Flash

2007-03-19 Thread Amol Lad
Can you send the patch you applied to nand_davinci.c ? That will help to solve your problem - Original Message From: Will Tucker [EMAIL PROTECTED] To: davinci-linux-open-source@linux.davincidsp.com Sent: Saturday, March 17, 2007 1:19:47 AM Subject: Booting and Running Kernel From NAND

Re: Booting and Running Kernel From NAND Flash

2007-03-19 Thread Jonah Jones
Hey Will, first of all, when nandwriting you kernel to mtd0, u need to ensure you give it an offset so that it writes it at the 0x104000 location..by just doing nandwrite -p, its writing at the top of mtd0 do nandwrite -p /dev/mtd0 -b 16384 uImage to do this correctly, 16384 = 0x4000

Booting and Running Kernel From NAND Flash

2007-03-16 Thread Will Tucker
Hi, I'm trying to load and run my kernel from NAND flash but I can't get it working. I've been following SPRAA0, and I put the patch in create to partitions in the NAND - mtd0 and mtd1, and I do the ftl_format /dev/mtd1 and nandwrite -p /dev/mtd0 uImage and it seems to write the image to