Chaitu Tech Bits
Showing posts with label u boot. Show all posts
Showing posts with label u boot. Show all posts

how to compile u boot for arm9 friendly arm mini 2440 micro 2440 ?? what is uboot

Wednesday, December 15, 2010

UBoot must usually be installed in a Flash memory to be
executed by the hardware. Depending on the hardware, the installation of UBoot
is done in a different way
The board provides some kind of specific boot monitor, which allows to flash the second stage bootloader. In this case, refer to the board documentation and tools UBoot is already installed, and can be used to Flash a new version of UBoot.
However, be careful: if the new version of UBoot doesn't work, the board is unusable
The board provides a JTAG interface, which allows to write to the
Flash memory remotely, without any system running on the board. It
also allows to rescue a board if the boot loader doesn't work.

The bootloader that comes factory installed on the Micro2440 and the Mini2440 board is called Supervivi. I don't personally like it. It has very limited support and requires a YAFFS filesystem for the root filesystem. So when I bought my board I began to immediately search out an alternative. The bootloader by choice, it seems, is a modified version of U-Boot with modifications for the Mini2440 board's hardware
The code is maintained by a guy named buserror. I'll provide his information at the end of this howto.
At the time of writing this, I had some issues with getting Buserror's U-Boot working correctly.
The code that is in his git repository, doesn't run from RAM without a modification to the source. So here are the instructions that I gathered for altering and compiling it, and getting it going on the Mini2440 and Micro2440 board.
For this to work, I'm going to assume that you have a crosscompiler set up. Later on, I will probably write an entry here about setting that up, but not now. I'm also assuming you have git installed.

Step 1: Get the source

mkdir uboot ;
cd uboot
git clone git://repo.or.cz/u-boot-openmoko/mini2440.git

Step 2: Set your cross compiler prefix so you don't end up compiling this for x86.

export CROSS_COMPILE=arm-none-linux-gnueabi-
 

Share/Bookmark

UBoot compilation for mini 2440 micro 2440 (friendly arm ). how to compile uboot for friendly arm from the scratch

Saturday, December 11, 2010

Micro2440 with Linux and U-Boot
Micro2440 Instructions for U-Boot and Linux

A brief introduction about how to get started with the Micro2440 boards and u-boot.
We are going to replace all contents of the NAND flash - so make sure to have a backup if there is any valuable data on your device.
What we need

* Micro2440 SDK
* Linux PC (Windows would work as well but I'm not sure how to upload files to Vivi with it.)
* SD/MMC card
* Serial cable
* USB cable or JTAG (to replace vivi)

Share/Bookmark

Embedded Linux Boot- Code Walkthrough

Tuesday, November 23, 2010

Embedded Linux on Arm:
———————————-
We will walk through boot up code  for AT91RM9200 system-on-chip, built around the ARM920T ARM Thumb processor. Kwickbyte builds an embedded board called kb9202 based on AT91RM9200.
Before you start reading this you need to read AT91RM9200 data sheet (specification). You can download the data sheet with the following link.
www.keil.com/dd/docs/datashts/atmel/at91rm9200_ds.pdf
You also need to read ARM Architecture Reference Manual for better understanding the boot process. You can download it with the following link.
http://www.lysator.liu.se/~kjell-e/embedded/ARM-ARM.pdf

Share/Bookmark

Related Posts Plugin for WordPress, Blogger...