This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

booting through nand flash



Hi

I am presently working on 816x/389x EVM. for booting through nand i have made a jffs2 file using mkfs.jffs2 -lqn –e 128 -r target -o /tftpboot/rd-jffs2.bin . while i am booting i am getting error . I am using argo file system which come with the board to generate jffs2 file system

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00e02b00: 0x653e instead.

please help me out

  • My u-boot argument are

    bootdelay=3
    baudrate=115200
    verify=yes
    bootfile=uImage
    ramdisk_file=ramdisk.gz
    loadaddr=0x81000000
    script_addr=0x80900000
    loadbootscript=fatload mmc 0 ${script_addr} boot.scr
    bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
    ethaddr=00:18:31:e6:e0:dc
    ethact=DaVinci EMAC
    autolaod=no
    gateway=0.0.0.0
    hostname=dm816x
    addip=setenv bootargs ${bootargs} ip=${ipaddr}:${gatewayip}:${netmask}:${hostname}:eth0:off
    autoload=no
    nfsserver=10.0.0.1
    gatewayip=0.0.0.0
    gatewayip=10.0.0.1

    bootenv=console=ttyO2,115200n8 root=/dev/mtdblock3 rw rootfstype=jffs2 mem=100M earlyprintk
    filesize=2507A
    fileaddr=81000000
    netmask=255.255.255.0
    ipaddr=10.0.0.2
    serverip=10.0.0.1
    bootcmd=nand read 0x81000000 0x280000 0x272800;nand read 0x82000000 0x6c0000 0x15f7000;bootm 0x81000000
    bootargs=mem=128M console=ttyO2,115200n8 noinitrd root=/dev/mtdblock7 rw rootfstype=jffs2 notifyk.vpssm3_sva=0xa0000000
    ver=U-Boot 2010.06 (Oct 10 2012 - 02:01:22)

  • Hello,

    Are you following our UBOOT User Guide?

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_U-Boot#U-Boot_NAND_Support

    BR

    Pavel

  • You can also check here:

    http://www.linux-mtd.infradead.org/faq/jffs2.html#L_magicnfound

    BR

    Pavel