'nand' Tag

  • nov
    08
    2010

    linux booting on ubifs partitions

    UBIFS is relatively new on embedded systems but my guess is that they’ll become the standard on embedded market. To start, the first step is enable UBIFS support in kernel. I exaggerated on some debug options, fell free to avoid:
    CONFIG_MTD_UBI=y
    CONFIG_MTD_UBI_WL_THRESHOLD=4096
    CONFIG_MTD_UBI_BEB_RESERVE=1
    CONFIG_MTD_UBI_DEBUG=y
    CONFIG_MTD_UBI_DEBUG_MSG=y
    CONFIG_UBIFS_FS=y
    CONFIG_UBIFS_FS_LZO=y
    CONFIG_UBIFS_FS_ZLIB=y
    Next I used a simple rootfs – basically busybox + mtd-utils – to create/format the partitions, [...]

  • ago
    21
    2009

    Using nandsim to mount large images

    Since I’m still using 32-bit machines I had to switch the way I mount large (> 128MiB) JFFS2 images. Now I’m using NAND simulator, an extremely useful debugging and development tool which simulates NAND flashes in RAM. The main problem with mtdram is  related with space reserved to vmalloc function on 32-bits processors (an hardware [...]