sheevaplug nand type not recognized?
freebsd at damnhippie.dyndns.org
Wed Dec 12 22:58:45 UTC 2012
On Wed, 2012-12-12 at 23:41 +0100, Ronald Klop wrote:
> I just compiled a FreeBSD-10-current (src from 22 Nov.) kernel+world and
> installed it on a usb stick.
> It has NAND support compiled in, but I see no nand devices in /dev.
> Dmesg does not list a lnand0 device like the example in
> Booting Debian finds this:
> NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB
> 3,3V 8-bit)
> Scanning device for bad blocks
> Bad eraseblock 168 at 0x000001500000
> Bad eraseblock 169 at 0x000001520000
> Bad eraseblock 1193 at 0x000009520000
> 2 cmdlinepart partitions found on MTD device orion_nand
> Creating 2 MTD partitions on "orion_nand":
> 0x000000100000-0x000000500000 : "uImage"
> 0x000000500000-0x000020000000 : "rootfs"
> UBI: attaching mtd1 to ubi0
> I don't see this Samsung version in sys/dev/nand/nand_id.c.
> Would it be easy to add it? I understand the manufacturer id and chip id,
> but I don't know what I should change more.
That looks like the same chip that's in my DreamPlug 1001N, the attached
diff should fix it for you.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 602 bytes
Desc: not available
More information about the freebsd-arm