Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2006 21:22:44 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/boot/arm/at91/boot0 Makefile README arm_init.s at91rm9200_lowlevel.c at91rm9200_lowlevel.h lib.c lib.h linker.cfg main.c xmodem.c xmodem.h
Message-ID:  <200604122122.k3CLMi2g005143@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2006-04-12 21:22:44 UTC

  FreeBSD src repository

  Added files:
    sys/boot/arm/at91/boot0 Makefile README arm_init.s 
                            at91rm9200_lowlevel.c 
                            at91rm9200_lowlevel.h lib.c lib.h 
                            linker.cfg main.c xmodem.c xmodem.h 
  Log:
  Recovery boot loader for the AT91 family of processors.  Download it
  via xmodem to the DBGU port when the AT91 comes up in recovery mode.
  The recovery loader will then load your program via xmodem into SDRAM
  at 1MB which can do its things.  It needs to be tweaked to the
  specific board one is using, but it fits in < 1kB (all of Atmel's ARM
  products have at least 8kb of SRAM that I can tell, so this should
  work for them all).
  
  Parts of this code were provided by Kwikbyte with copyright
  specifically disclaimed.  I heavily modified it to act as a recovery
  loader (before it was a bootstrap loader) and to optimize for size
  (before I started the size was closer to 8k).
  
  Bootstrap loaders for SPI and IIC to follow.
  
  Revision  Changes    Path
  1.1       +21 -0     src/sys/boot/arm/at91/boot0/Makefile (new)
  1.1       +7 -0      src/sys/boot/arm/at91/boot0/README (new)
  1.1       +105 -0    src/sys/boot/arm/at91/boot0/arm_init.s (new)
  1.1       +184 -0    src/sys/boot/arm/at91/boot0/at91rm9200_lowlevel.c (new)
  1.1       +57 -0     src/sys/boot/arm/at91/boot0/at91rm9200_lowlevel.h (new)
  1.1       +76 -0     src/sys/boot/arm/at91/boot0/lib.c (new)
  1.1       +33 -0     src/sys/boot/arm/at91/boot0/lib.h (new)
  1.1       +85 -0     src/sys/boot/arm/at91/boot0/linker.cfg (new)
  1.1       +42 -0     src/sys/boot/arm/at91/boot0/main.c (new)
  1.1       +127 -0    src/sys/boot/arm/at91/boot0/xmodem.c (new)
  1.1       +32 -0     src/sys/boot/arm/at91/boot0/xmodem.h (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604122122.k3CLMi2g005143>