LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 06-04-2010, 07:09 AM   #1
tomsc
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
[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

Last edited by tomsc; 06-04-2010 at 07:41 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to clone linux-2.6-mx.git from opensource.freescale.com thirumalesh Linux - Embedded & Single-board computer 1 10-21-2009 08:33 AM
linux-uvc in 2.6.22 kernel and downgrade porting pbaykov Linux - Kernel 2 12-21-2008 06:52 PM
UART driver porting from 2.4.20 to 2.6.10 for freescale imx21ADS21 board. AshishVyas Linux - Newbie 1 05-15-2008 07:30 AM
porting linux kernel list operation to user space? soararing Programming 2 11-24-2007 07:49 AM


All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration