I'm working with am35xx custom board.It has two 2GB ( 8bit )nand.
I'm using android filesystem( rowboat gingerbread ) to boot.Before nand concatenation, nand boot is working fine.
Then I concatenated nand.So that I got second nand is appended with 1st nand's filesystem partition like below.
Creating 5 MTD partitions on "am3517_lgvg_concat":0x000000000000-0x000000080000 : "xloader-nand"0x000000080000-0x000000400000 : "uboot-nand"0x000000400000-0x000000480000 : "params-nand"0x000000480000-0x000000e80000 : "linux-nand"0x000000e80000-0x000040000000 : "File-System"
After this, I wrote filesystem into nand's mtd4 partition by following commands.
flash_erase /dev/mtd/mtd4 0 8076
mount -o rw -t yaffs2 /dev/block/mtdblock4 /mnt/nand
busybox tar xvf rootfs.tar -C /mnt/nand
setenv bootargs mem=256M console=ttyO2,115200n8 androidboot.console=ttyO2 root=/dev/mtdblock4 rw rootfstype=yaffs2 init=/init vram=32M omapfb.vram=0:16M
mmc init;fatload mmc 0 0x82000000 uImage;bootm 0x82000000
For first nand boot, no issues.But if I boot once again with the same bootargs, it is not booting.
It is giving error as
Failed to execute /init. Attempting defaults...Kernel panic - not syncing: No init found. Try passing init= option to kernel.
After that no data are there in nand particular nand address.Everything got erased.
If I use jffs2 filesystem , it is not booting even for the first time.It is giving error as
D/dalvikvm( 949): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---D/dalvikvm( 1058): creating instr width tableE/dalvikvm( 1058): unable to mmap DEX cache: Invalid argumentE/dalvikvm( 1058): Optimization failedW/dalvikvm( 949): DexOpt: --- END 'core.jar' --- status=0xff00, process failed
Please help me on this.
We too facing same problem?
Processor : AM3703
512MiB for booting , MLO, u-boot.bin, UImage
2GiB for storage purpose : added UBIFS image
Unable to mount filesytem in /dev/mtd5 partition:
partitions are all getting created, how you explained same way?
so have got solution for your issue?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.