[U-Boot-Users] U-Boot port to a new AT91RM9200 board

Guido Classen clagix at gmail.com
Fri May 26 20:32:27 CEST 2006


Hello,

I am working on a port of U-Boot to our CCM2200 board. This board is
composed of an Atmel AT91RM9200 CPU, NOR and NAND Flashes and also some
serial and parallel I/O.

My port is running well row using the latest git sources. If someone is
interested in the board specific code I can contribute it.

But first I want to ask some questions about the ARM U-Boot source and clean
up my patches according your answer.

- include/asm/mach-types.h
  this file seems to be taken from the ARM-Linux kernel. But it is really
  outdated. Is there a periodically update for this file? I need the
  definition for our board machine id. The file will be generated
  automatically by the Linux kernel using a text file as template which comes
  from the board database on the ARM-Linux website. If the file is not
  automatically generated I can send you a patch containing the current
  version.

- include/asm/arch-at91rm9200/AT91RM9200.h
  I miss some definitions in this file like the constants to access the
  PIOD. Is it okay to add this definitions or should they go to the board
  specific header? I have seen the current Linux kernel has new own header
  files for the definition of AT91RM9200 registers and doesn't rely longer on
  the files supplied by Atmel. Is it considered to include these files in
  future u-boot releases?

Our board is designed for outdoor usage, so it is not handy to do software
updates using a laptop computer. The good support of USB-storage devices was
one reason for us to choose u-boot. Updating flash images works well with USB
Flash memory sticks. But it must be triggered by entering U-Boot commands.  Is
there a way to redirect U-Boot's STDIN to a file on VFAT medium in terms of
getting a real disk shell script facility? I've read README.console but there
is now word about FAT files? I think in combination with the hush shell this
would be a very powerful way to do all kind of updates and complex boot
sequences.  Sorry if I have overseen something and this feature is already
present in U-Boot.

Many thanks in advance for reading and answering my questions.

  Guido




More information about the U-Boot mailing list