[Arm-netbook] Real size of Mele A1000 NAND
Tom Cubie
mr.hipboi at gmail.com
Fri May 11 02:29:55 BST 2012
On May 11, 2012 5:19 AM, "David Given" <dg at cowlark.com> wrote:
>
> On 09/05/12 02:42, cnxsoft wrote:
> [...]
> > I also have 4GB NAND Flash (although it's more like 3800 MB) and I
> > ordered with Deal extreme. I guess I used the dealextreme specs on my
> > blog...
>
> 4GB here, too.
>
> The NAND driver appears to emulate a real block device, not an MTD
> device --- most of the partitions contain ext4 file systems. My
> partition table looks like:
>
> Device Name Location+Length (512 byte sectors)
> -------------------------------------------------------------------
> /dev/nanda BOOTFS 00000800+00008000
> /dev/nandb LROOTFS 00008800+00010000
> /dev/nandc LSYSTEMFS 00018800+00080000
> /dev/nandd LDATAFS 00098800+00300000
> /dev/nande MISC 00398800+00000800
> /dev/nandf LRECOVERYFS 00399000+00010000
> /dev/nandg LCACHEFS 003a9000+00040000
> /dev/nandh env 003e9000+00001000
> /dev/nandi UDISK 003ea000 to end
>
> BOOTFS is the boot partition, not dissimilar from /dev/mmcblk0p1
> (although with more stuff in it). env is a uboot environment.
>
> The partition table itself is stored at offset 0 in the flash device. As
> you can see, it's not in any partition, and there I haven't found
> anything like a raw device, which means it can't be edited...
>
> The device driver code is in drivers/block/sun4i_nand/nfd; the low level
> stuff including the wear levelling code is in
> drivers/block/sun4i_nand/src. I have utterly no idea whether it's any
> good. Anyone know why they didn't implement an mtdblock driver and use
> yaffs2?
well, the people working on nand in allwinner think MTD is an out of date
technology. i have argued many times that we need a MTD nand driver. why a
device driver should care about things like wear leveling?
>
> --
> ┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
> │
> │ "Never attribute to malice what can be adequately explained by
> │ stupidity." --- Nick Diamos (Hanlon's Razor)
>
>
> _______________________________________________
> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
> Send large attachments to arm-netbook at files.phcomp.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.phcomp.co.uk/pipermail/arm-netbook/attachments/20120511/fbca95b0/attachment.html
More information about the arm-netbook
mailing list