Project

General

Profile

Booting Linux

Added by david mckinley about 10 years ago

I am trying to build the Kernel. After loading the Linux uImage file, I get the message:
"Uncompressing Linux... done, booting the channel" and there are no more messages.
Any Ideas?

I am using TI SDK Version 06.00.00.00
I am using the cross compiler: arm-Linux-gnueabihf, and also tried arm-Linux-gnueabi
I followed your instructions for building Linux. I have successfully built u-boot and tested it.
I am booting from an SDCARD on the Criticallink Mityarm-335x development board.

Is it a terminal setting, or kernel terminal build option issue for the terminal?

boot_linux.txt (1.27 KB) boot_linux.txt console log file during boot failure
uEnv.txt (1.67 KB) uEnv.txt boot environment file

Replies (8)

RE: Booting Linux - Added by david mckinley about 10 years ago

I have attached the .config file.

RE: Booting Linux - Added by Jonathan Cormier about 10 years ago

Have you modified the kernel? If so were you able to boot using the unmodified version?

RE: Booting Linux - Added by Jonathan Cormier about 10 years ago

There aren't any changes in your .config file from the one in our AM335XPSP_04.06.00.02 branch.

RE: Booting Linux - Added by Jonathan Cormier about 10 years ago

There shouldn't be any problem building the kernel with the SDK 06 version. Though I have not personally tested building the 3.1 branch that you are using. I'd recommend building the mityarm-linux-v3.2 as it has a lot of updates over the older 3.1 branch. Though the problem you are reporting shouldn't be an issue with the 3.1 branch.

Also we have recently made a startup guide for the 335x which can be found here: https://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Getting_Started_335x
Hopefully it is helpful.

RE: Booting Linux - Added by david mckinley about 10 years ago

Building the Kernel with your new instruction, version: mityarm v3.2, is booting correctly. I am using gcc-linaro-arm-Linux compiler(arm-linux-gnueabi/non HW float unit) as described by the TISDK 6.0. I do have the environment-setup file under Linux-devkit folder, line 10, export directive, commented out as well.

RE: Booting Linux - Added by david mckinley about 10 years ago

Successful boot of kernel 3.2 console messages. U-boot has been modified with new mii pin locations, so the kernel does not see the phy on board after booting. I can now debug the new mii phy location on my carrier board design.

boot_linux_v3p2.txt (20.7 KB) boot_linux_v3p2.txt boot successful on linux 3.2

RE: Booting Linux - Added by Jonathan Cormier about 10 years ago

Excellent glad the guide helped.

Just so you know we updated the u-boot branch with timings for the DDR to run at 400Mhz up from 303Mhz.
http://support.criticallink.com/gitweb/?p=u-boot-mityarm-335x.git;a=shortlog;h=refs/heads/u-boot-2013.10

Also you boot log shows that you didn't rebuild the pvr drivers for the new kernel version. If you don't intent to use the 3d accelerated hardware than you can remove the S*rc.pvr link from /etc/rc5.d directory. If you do want to use it then we have a guide for building it linked on the main wiki page.

Starting PVR
[   14.038879] pvrsrvkm: disagrees about version of symbol module_layout
insmod: error inserting '/lib/modules/3.1.0/kernel/drivers/gpu/pvr/pvrsrvkm.ko': -1 Invalid module format
FATAL: Module omaplfb not found.
FATAL: Module bufferclass_ti not found.

Also in the latest dev kit filesystem we've edited the /etc/udev/rules.d/70-persistant-net.rules file so that always names the ethernet as eth0. So moving between different boards with different macs with the same sd card isn't a problem. Used to increment the number for every different SoM.

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" 

RE: Booting Linux - Added by Jonathan Cormier about 10 years ago

If you would like to use the latest sd card image. Instructions can be found here: https://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Creating_an_SD_Card

    (1-8/8)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)