Hello,
I am working on a DM8148 and am booting with SPI. I am working with the uboot and the linux kernel that came with EZSDK 5.05.02.
The instructions both in the EZSDK docs folder as well as here both state clearly that the filesystem needs to be burned to address 0x2E2000, and expects that flash location to be mounted to partition /dev/mtdblock4.
From TI documentation referenced in link above:
| |-->0x002E2000-> Filesystem start +-------------+-->0x00400000-> Filesystem end ... console=ttyO0,115200n8 root=/dev/mtdblock<partion_id> [ro|rw] rootfstype=jffs2 mem=100M earlyprintk rootfs on NAND ==> partion_id should be 4 rootfs on SPI ==> partion_id should be 4 rootfs on NOR ==> partion_id should be 3 NOTE: If the kernel is compiled with both SPI and NAND support then /dev/mtdblock9 should be used for NAND. If the kernel is compiled with both SPI and NOR support then /dev/mtdblock7 should be used for SPI ... In case if you want readonly filesystem, setenv bootargs 'console=ttyO0,115200n8 root=/dev/mtdblock4 ro rootfstype=jffs2 mem=100M earlyprintk'
Where in the linux kernel or uboot source do I configure the mtdblock partition locations within the SPI flash? To reword this question, if I wanted to move the location of mtdblock4 from 0x2e2000 to something else, where in the code do I make this change?