imx6sl cannot fidisk ramdisk.img correctly

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6sl cannot fidisk ramdisk.img correctly

2,747 Views
zhghua1103
Contributor I

Dear All,

Thanks for your help about the question!

ALSA device list:
  #0: imx-spdif
RAMDISK: gzip image found at block 0
UDF-fs: warning (device ram0): udf_fill_super: No partition found (2)
F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x65643030)
F2FS-fs (ram0): Can't find valid F2FS filesystem in 1th superblock
F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x642f0a30)
F2FS-fs (ram0): Can't find valid F2FS filesystem in 2th superblock
F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x65643030)
F2FS-fs (ram0): Can't find valid F2FS filesystem in 1th superblock
F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x642f0a30)
F2FS-fs (ram0): Can't find valid F2FS filesystem in 2th superblock
UDF-fs: warning (device ram0): udf_fill_super: No partition found (2)
F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x65643030)
F2FS-fs (ram0): Can't find valid F2FS filesystem in 1th superblock
F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x642f0a30)
F2FS-fs (ram0): Can't find valid F2FS filesystem in 2th superblock
F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x65643030)
F2FS-fs (ram0): Can't find valid F2FS filesystem in 1th superblock
F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x642f0a30)
F2FS-fs (ram0): Can't find valid F2FS filesystem in 2th superblock
List of all partitions:
0100            8192 ram0  (driver?)
0101            8192 ram1  (driver?)
0102            8192 ram2  (driver?)
0103            8192 ram3  (driver?)
0104            8192 ram4  (driver?)
0105            8192 ram5  (driver?)
0106            8192 ram6  (driver?)
0107            8192 ram7  (driver?)
0108            8192 ram8  (driver?)
0109            8192 ram9  (driver?)
010a            8192 ram10  (driver?)
010b            8192 ram11  (driver?)
010c            8192 ram12  (driver?)
010d            8192 ram13  (driver?)
010e            8192 ram14  (driver?)
010f            8192 ram15  (driver?)
No filesystem could mount root, tried:  ext3 ext2 ext4 vfat msdos iso9660 ntfs fuseblk udf f2fs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I  do it:

android-info.txt              imx6sl-evk-csi.dtb        recovery.img
boot.img                      installed-files.txt       recovery-imx6sl.img
boot-imx6sl.img               kernel                    root
clean_steps.mk                obj                       symbols
dex_bootjars                  previous_build_config.mk  system
fake_packages                 ramdisk.img               system.img
fsl-sdcard-partition-f2fs.sh  ramdisk-recovery.img      system_raw.img
fsl-sdcard-partition.sh       recovery                  u-boot.imx
gen                           recovery.id               u-boot-imx6sl.imx

dd:  boot-imx6sl.img  recovery-imx6sl.img  system_raw.img u-boot-imx6sl.imx 
Would you like for help me?
With Best Regards
Joshua
Labels (1)
0 Kudos
1 Reply

1,470 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Joshua,

I’m sorry to hear you’re having problems running android on the i.MX6SL. I’m assuming you’re using the i.MX6SEVK as denoted by your device tree.

You may use the Manufacturing Tool to create and load the Android filesystem. Please make sure to use the manufacturing tool that matches the Android version you are using. You may find them on the following link under programmers:

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

The other alternative is using the SD card partition script, which creates the necessary partitions after which you may load each with the required files. There is detailed information on how to do this on the “Storage partitions” section of the Android User's Guide.

It would be something like:

$ cd ~/myandroid/

$ sudo chmod +x ./device/fsl/common/tools/fsl-sdcard-partition.sh

$ sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f <soc_name> /dev/sdX

# <soc_name> can be imx6q, imx6dl, imx6sl, imx6sx and imx7d.

I hope this helps!

Regards,

0 Kudos