Can you give me a copy? Thank you very much.
On Fri, Apr 4, 2014 at 4:32 AM, Henrik Nordström <[email protected] > wrote: > You need a kernel with NAND boot block area support for this. > > > ons 2014-04-02 klockan 22:31 -0700 skrev [email protected]: > > Hello, do you succeed in writing u-boot-spl.bin to nand ? I tried but > failed. I even erase the first 64MB space of nand, but the boot0 & boot1 > still exists. Can you help me out? Thanks. > > On Wednesday, April 3, 2013 3:41:21 PM UTC+8, Qiang Yu wrote: > > > Hi guys, > > > > > > > > > Good news! The uboot can boot up on MTD nand. The boot0 is replaced by > uboot SPL, then load uboot directly. The SPL and uboot all use my MTD nand > driver. Code is here: > > > > > > https://github.com/yuq/u-boot-sunxi/commits/sunxi-current > > > > > > > > > > > > Let uboot use MTD driver is straight forword. But let SPL replace > boot0 is not. boot0 lays in the first 128 pages of the nand flash chip. The > first 64 pages are the same as the following 64 pages. I can't find raw > boot0 in this area, so guess it is encrypted which I can't crack. > > > > > > > > > > > > My tmp strategy is: replace boot0.bin in the pack tool provided by > Allwinner with uboot SPL. Pack a firmware and burn into flash using > livesuit. Then read out first 128 pages. The SPL will load the uboot image > from the 1M offset. So I burn the dumped SPL to the begginning of the new > flash, the uboot image to the 1M offset. > > > > > > > > > > > > Here attaches the dumped 1M SPL image which is for 8K page chips. > Other page size (2K, 4K) can use attached shell script to convert it. > > > > > > > > > Regards, > > > > > > Qiang > > > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "linux-sunxi" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/linux-sunxi/KJ4YL_NzhWw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
