Main Menu

Menu

Friday 24 February 2012

Angstrom on Thunder Board

Here i will describe the main steps for producing a bootable SD card for the boards of TechNexion, like Tsunami and Thunder Board that they are based on the OMAP3530 processor of TI.

1. Download Codesourcery G++ Lite from Mentor page and run the .bin file in the /bin/sh shell in your linux distro. If you follow the GUI installation, you will add the path of the g++ automatically in the system PATH. Check your path with 
>echo $PATH.

2. In the bash standard shell of Ubuntu:
>export CROSS_COMPILE=arm-none-linux-gnueabi-
>export ARCH=arm

3. Download the xukr-20120201-omap3.tar.xz package from technexion that contains the linux kernel, the u-boot, the x-loader and a sample root file system of Angstrom.
unzipping this package:
unxz package_name.tar.xz
results to package_name.tar
and then unzip this tarball using the unzipping manager.

4. Browse the folder in command line

5. Browse the folder of the x-loader
>make distclean && make tao3530_config && make -j 2  (for the tao3530)
The resulting binary is named MLO.
6. Browse the folder of the u-boot
Change the #define TN_PANEL 043 (for 4.3") or 070 (for 7")
 
> make distclean && make tao3530_config && make -j 2 tao3530 (for the tao3530)
The resulting binary is named u-boot.bin

7. Browse the linux kernel folder:
>make distclean && make tao3530_thunder_defconfig && make -j 2 uImage && make modules  (for the thunder baord)
For other board choose other board_name_defconfig.
The resulting kernel binary is in arch/arm/boot/uImage.

8. Formatting the sd card:
a)boot partition: msdos, 100MB,
b)root file system partition: ext3/ext4, >270MB

If you have a pre-formatted sd card, will be fine. Or else have to create the partitions possibly using fdisk utility of linux.
So, if it is preformatted delete the contains of the partitions and replace them with the new that have generated.
unmount the SD card and install it in the board

9. Change the rootfs of the Angstrom
find the .ko for the wireless and the powervr in the drivers folder of the linux kernel and copy them in the boot folder of the provided Angstrom rootfs.
AND
for TAO3530 the default console is ttyO2 and not ttuO0 --change this in the /etc/inittab of the provided Angstrom rootfs

10. Copy the files in the cd card.
MLO, u-boot.bin and uImage in the boot partition
and the rootfs on the rootfs folder (need sudo permissions).

11. Unmount safely the sd card.

12. Boot the system from the SD card.

And some fotos: 





4 comments:

  1. I miss my Thunderboard gotta get me a new one bro now that you've done all this! Really enjoying the projects bro keep it up!

    ReplyDelete
  2. Thanks again troy. It's true that is a very nice developing board but lacks support of a strong community.

    ReplyDelete
  3. where can I get the commands that can be used on the root@devkit# prompt? or how to access the shell?

    ReplyDelete
  4. this tutorial really helped me. Thanks a lot.
    I am working with Thunder board and i am trying to install android on it.
    i read userguide and book said that i have to reboot the board. But i don't know how to reboot . there is just Power 1 , User1 , Reset 1 buttons , but no reboot button. How can i reboot my board ? please help me

    ReplyDelete