Failed to boot the external kernel on TWR-LS1021A

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

Failed to boot the external kernel on TWR-LS1021A

1,620 Views
takumishimada
Contributor II

Hi,

I am trying to boot kernel built by Linux SDK v1.7 for QorIQ Processors from TFTP on TWR-LS1021A.

According to the manual(Software Deplyoment Guides->Boards->TWR-LS1021A->Deployment->RamdiskDeployment form TFTP), I sent command from serial,

```

setenv bootargs 'root=/dev/ram rw ramdisk_size=40000000 console=ttyS0,115200'

saveenv

tftp 83000000 ls1021atwr/uImage

tftp 88000000 ls1021atwr/fsl-image-core-ls1021atwr.ext2.gz.u-boot

tftp 8f000000 ls1021atwr/uImage-ls1021a-twr.dtb

bootm 83000000 88000000 8f000000

```

But, the kernel seems to stop after the output as follow:

```

## Booting kernel from Legacy Image at 83000000 ...

   Image Name:   Linux-3.12.19-rt30+ls1+g6619b8b

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    3079856 Bytes = 2.9 MiB

   Load Address: 80008000

   Entry Point:  80008000

   Verifying Checksum ... OK

## Loading init Ramdisk from Legacy Image at 88000000 ...

   Image Name:   fsl-image-core-ls1021atwr-201502

   Image Type:   ARM Linux RAMDisk Image (gzip compressed)

   Data Size:    21286678 Bytes = 20.3 MiB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 8f000000

   Booting using the fdt blob at 0x8f000000

   Loading Kernel Image ... OK

   Loading Ramdisk to bdb13000, end bef5ff16 ... OK

   Loading Device Tree to bdb0a000, end bdb120ca ... OK

Starting kernel ...

```

I tried to access to the board from ssh, but it also failed.

0 Kudos
7 Replies

1,065 Views
lunminliang
NXP Employee
NXP Employee

Hi,

Can you please try the pre-built image (kernel, file system, and .dtb) from SDK1.7, to see if booting normal?

Regards

Lunmin

0 Kudos

1,065 Views
takumishimada
Contributor II

I tried to boot the default kernel and it booted normally.

But I tried to boot the unmodified kernel from SDK 1.7 using tftp, it failed.

I built images using bitbake from SDK 1.7.

Are there any pre-build image?

0 Kudos

1,065 Views
lunminliang
NXP Employee
NXP Employee

Hi,

Yes, there is. You can download directly from Freescale website Linux® SDK for QorIQ Processors v1.7|Freescale

The package name is QorIQ-SDK-V1.7-CORTEXA7-IMAGE-20141218-yocto.iso

I'd like to make sure with you that you're using Freescale demo board, not any modification on hardware, right? And you can see message of U-Boot, right?

Regards

Lunmin

0 Kudos

1,065 Views
takumishimada
Contributor II

Hi,

I downloaded the pre-compiled images and tried to boot with them, but the board became the same state.

I have not modified the board. I can see messages from U-Boot and pre-installed Linux on the board.

Regards,

Shimada

0 Kudos

1,065 Views
lunminliang
NXP Employee
NXP Employee

Hi,

Please make sure you use the right RCW, and set switch according to the Getting Started document.

As there seems to be bug to on "$baudrate", please manually setting with specific number as below:

setenv bootargs 'root=/dev/ram rw console=ttyS0,115200'

Can you boot linux from SDK1.3 for LS1021A normally?

Regards

0 Kudos

1,065 Views
takumishimada
Contributor II

I tried to boot using mainline u-boot(v2015.01) from SD card and successfully boot the kernel downloaded from tftp.

Therefore, there seems to be something wrong with u-boot in SDK.

Regards,

Shimada

0 Kudos

1,065 Views
takumishimada
Contributor II

I have not modified any source code including RCW. How can I check if the RCW is right?

I have checked the board switches are correctly set the default configuration.

The baudrate is set 115200 by `setenv bootargs 'root=/dev/ram rw ramdisk_size=40000000 console=ttyS0,115200'`

I tried to use SDK 1.3, but it seems not to be support LS1021A.

How can I build the kernel using SDK 1.3?

0 Kudos