LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   [Freescale P2020DS] Porting linux kernel 2.6.27 (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/%5Bfreescale-p2020ds%5D-porting-linux-kernel-2-6-27-a-812119/)

tomsc 06-04-2010 06:09 AM

[Freescale P2020DS] Porting linux kernel 2.6.27
 
Hello,

I'd like to install a linux kernel 2.6.27 on my P2020DS board. Actually, the baseline kernel version is 2.6.28.1.


So i have downloaded on kernel.org my kernel, I have copied the p2020ds_def_config (provided with the board and kernel 2.6.28.1) and renamed it to .config in the folder of 2.6.27 kernel



Then, make CROSS_COMPILE=powerpc-none-linux-gnuspe- ARCH=powerpc uImage ...



I copied uImage in the /boot directory



Reboot. . . .



Uboot prompt :



#setenv bootargs root=/dev/sda3 rw console=tty0

#ext2load scsi 0:3 0x1000000 /boot/uImage

xxxxx bytes read

#ext2load scsi 0:3 0xc00000 /boot/ramdisk

xxxxx bytes read



bootm 0x1000000 0xc00000

WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 01000000 ...
Image Name: Linux-2.6.27.47
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1187726 Bytes = 1.1 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 00c00000
Booting using the fdt blob at 0xc00000
Uncompressing Kernel Image ... OK
Loading Device Tree to 007f8000, end 007ffe1f ... OK
Updating PHY address for eTSEC1
ethernet0's model is eTSEC
Device flags are 3
Updating PHY address for eTSEC2
ethernet1's model is eTSEC
Device flags are 3
Updating PHY address for eTSEC3
ethernet2's model is eTSEC
Device flags are 3



Does anyone have any idea why the kernel doesn't boot?



Thank's



Thomas


All times are GMT -5. The time now is 07:57 AM.