[Arm-netbook] Flashing the NAND
Marco Martin
notmart at gmail.com
Fri Dec 6 11:45:51 GMT 2013
On Friday 06 December 2013, luke.leighton wrote:
> On Fri, Dec 6, 2013 at 9:10 AM, Marco Martin <notmart at gmail.com> wrote:
> > On Friday 06 December 2013, luke.leighton wrote:
> >> hi marco, welcome to the list, and thanks for agreeing to post these
> >
> > thanks :)
> >
> >> https://github.com/cubieboard2/linux-sunxi/tree/sunxi-3.4-cb2-dev/drive
> >> rs/
> >>
> >> block/sun7i_nand
> >>
> >> yep, there you go. that's what i recall using [over 4 months ago]
> >>
> >> and i remember it working correctly.
> >
> > ok, so i have a small update on this already: the driver is there and is
> > working in the sunxi-3.4 branch, i built all the pieces in the kernel and
> > i now have from
> > /dev/nanda to /dev/nandj
>
> awesome!
>
> > nanda is the boot partition, nandd seems the ext4 root, nande a 512m vfat
> > partition, nandh and nandi empty ext4 ones, nandj a 2gb vfat one.
> > all the other seems to not be accessible
>
> i don't know what they're for.
>
> > i suppose this layouthas to be maintained?
>
> not at all. the only critical one from what i gather is that the 1st
> partition has to start at a very specific offset (or, more
> specifically, the start of boot0 has to be at a hard-coded absolute
ok, good news
> henrik committed the A20 SDK to lichee-a20-dev so that would be a
> good place to start investigating. several others have copies as well
> i'm sure.
>
> ahhhhh here we go:
> https://github.com/hno/allwinner-boot/tree/d29c34b7f221979724275b4861c50de
> 3bd5b47fb
>
> that's the one.
ok.
I also found this on the wiki
http://linux-sunxi.org/Installing_to_NAND_from_SD_card
does seem still reliable? (seems a bit old in this case "sun4i should be
replaced with sun7i?)
that tutorial i suppose maintains boot0 and boot1 from the default android
image
--
Marco Martin
More information about the arm-netbook
mailing list