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 from SD (UBOOT + uImage + file system, )

I have attempted to create a standalone power-on bootable system on the SD card.

Using the PSP package 04.04.00.02 I have used this uImage, and the boot files and tar/gzipped the targetfs on the host and written these to the SD card using the mksd-ti81xx.sh script.

The EVM is then power cycled with the SD card inserted into the EVM 8148 and this is the output on the terminal:

U-Boot 2010.06 (Nov 02 2012 - 18:39:35)

TI8148-GP rev 2.1

ARM clk: 600MHz
DDR clk: 400MHz

DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0
Using default environment

The 2nd stage U-Boot will now be auto-loaded
Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed
Hit any key to stop autoboot:  0
reading u-boot.bin

182048 bytes read
## Starting application at 0x80800000 ...


U-Boot 2010.06 (Nov 02 2012 - 18:40:57)

TI8148-GP rev 2.1

ARM clk: 600MHz
DDR clk: 400MHz

I2C:   ready
DRAM:  2 GiB
NAND:  HW ECC BCH8 Selected
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron NAND 256MiB 3,3V 16-bit)
NAND bus width 8 instead 16 bit
No NAND device found!!!
0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC or MMC, using default environment

Net:   <ethaddr> not set. Reading from E-fuse
Detected MACID:40:5f:c2:67:22:a5
cpsw
Hit any key to stop autoboot:  0
reading boot.scr

** Unable to read "boot.scr" from mmc 0:1 **
In case ENV on MMC/SD is required
Please put a valid script named boot.scr on the card
Refer to the User Guide on how to generate the image

TI8148_EVM#mmc rescan 0
TI8148_EVM#fatload mmc 0 0x81000000 uImage
reading uImage

2726028 bytes read
TI8148_EVM#setenv bootargs 'console=tty02,115200n8 root=/dev/mmcblk0p2 mem=128M rootwait'
TI8148_EVM#bootm 0x81000000
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2725964 Bytes = 2.6 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

(just hangs here)

What am I missing here?  Why isn't the system booting the kernel?

I am not sure about the bootargs with root=/dev/mmcblk0p2. Maybe there is a problem there?

Thank you.

-Mike

  • Hello,

    You are using DM8148 right?

    You could try with the default bootargs:

    bootargs=console=tty00, 115200n8 rootwait rw mem 256M earlyprink notifyk.vpssm3_sva=0xBF900000 vram=50M vmalloc=500M ti814xfb.vram0:16M,2:6M, ubi.mtd=4,2048 root=ubi0:rootfs rw rootfs=ubifs

    Mike Thornhill said:
    I am not sure about the bootargs with root=/dev/mmcblk0p2.

    You could add it too.

    Best Regards,

    Margarita