Hi guys,
Once I duplicated linaro-ubuntu-desktop image into SD card following the instruction on linaro website and it works fine. Now I need to patch the kernel so that I compiled the patched kernel and copy the kernel image into /boot of SD card but my pandaboard doesn't boot up. Below is more detail steps I did so please let me know what I did wrong. Also if you have an instruction, then it also might be really helpful.
1. I'm using PandaBoard ES. To start the board, I just dd linaro-ubuntu-desktop image to SD card following these steps ( http://releases.linaro.org/images/): # These values will change based on your system $ SDCARD=/dev/ #sdcard could be something sdb or mmcblk0 $ IMGFILE=overo-nano.img $ gunzip ${IMGFILE}.gz $ dd bs=64k if=${IMGFILE} of=${SDCARD} Then the linaro ubuntu works on the PandaBoard ES well. In detail, the version of this ubuntu 12.02 and kernel version is 3.1.1-8-linaro-lt-omap.
2. Next, I cloned your git repository(git:// git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc.git) to get kernel including remoteproc patch. Since there's no .config file I just copy the config file of 3.2-rc4 on here ( http://elinux.org/Panda_How_to_kernel_3_2_rcx) wihch is the version matching the kernel version on your git repository. And then I compile the kernel and modules to get an uImage and install modules with commands below (also explains http://elinux.org/Panda_How_to_kernel_3_2_rcx), and copy uImage to /boot on SD card and modules /rootfs/lib/ on SD card. I used arm-linux-gnueabi-gcc rather than arm-none-linux-gnueabi-gcc.
Then compile like so: make ARCH=arm CROSS_COMPILE=Path_to_your/arm-2010q1/bin/arm-none-linux-gnueabi- uImage Then compile the modules like so: make ARCH=arm CROSS_COMPILE=/home/kenm/Panda/arm-2010q1/bin/arm-none-linux-gnueabi- modules "Install" the modules to somewhere convenient: make ARCH=arm CROSS_COMPILE=/home/kenm/Panda/arm-2010q1/bin/arm-none-linux-gnueabi- INSTALL_MOD_PATH=../testlib_omap modules_install
3. Then I put SD card to the Panda Board but it's suspending with the booting logs below.
U-Boot SPL 2011.12-rc1 (Mar 01 2012 - 20:03:59) Texas Instruments OMAP4460 ES1.1 OMAP SD/MMC: 0 reading u-boot.img reading u-boot.img
U-Boot 2011.12-rc1 (Mar 01 2012 - 20:03:59)
CPU : OMAP4460 ES1.1 Board: OMAP4 Panda I2C: ready DRAM: 1 GiB WARNING: Caches not enabled MMC: OMAP SD/MMC: 0 Using default environment
In: serial Out: serial Err: serial Net: No ethernet found. Hit any key to stop autoboot: 0 reading uEnv.txt
** Unable to read "uEnv.txt" from mmc 0:1 ** reading boot.scr
514 bytes read Loaded script from boot.scr Running bootscript from mmc0 ... ## Executing script at 82000000 reading uImage
3249584 bytes read reading uInitrd
1877535 bytes read reading board.dtb
340 bytes read ## Booting kernel from Legacy Image at 80200000 ... Image Name: Linux-3.2.0-rc4-00248-gb835c0f-d Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3249520 Bytes = 3.1 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 81600000 ... Image Name: initramfs Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 1877471 Bytes = 1.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 815f0000 Booting using the fdt blob at 0x815f0000 Loading Kernel Image ... OK OK reserving fdt memory region: addr=9d000000 size=3000000 Using Device Tree in place at 815f0000, end 815f3153
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Do you have any guess what I have missed or didn't do something? Any of your advise would be more than welcome. Thanks for your patches, and I really appreciate your consideration and help.
Thanks, Jaeyeon
linaro-kernel@lists.linaro.org