PERFORCE change 109580 for review
Warner Losh
imp at FreeBSD.org
Thu Nov 9 00:41:50 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109580
Change 109580 by imp at imp_lighthouse on 2006/11/09 00:41:31
Complete merge
Affected files ...
.. //depot/projects/arm/src/sys/boot/arm/at91/bootiic/arm_init.S#7 delete
.. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/arm_init.S#12 delete
.. //depot/projects/arm/src/sys/boot/arm/at91/libat91/arm_init.S#2 edit
Differences ...
==== //depot/projects/arm/src/sys/boot/arm/at91/libat91/arm_init.S#2 (text+ko) ====
@@ -23,6 +23,7 @@
* $FreeBSD: src/sys/boot/arm/at91/bootspi/arm_init.S,v 1.3 2006/10/21 22:44:26 imp Exp $
******************************************************************************/
+ .equ TWI_EEPROM_SIZE, 0x2000
.equ ARM_MODE_USER, 0x10
.equ ARM_MODE_FIQ, 0x11
.equ ARM_MODE_IRQ, 0x12
@@ -60,7 +61,7 @@
B dabtvec @; Data Abort
rsvdvec:
#ifdef BOOT_IIC
- .long 12 << 10 @; 12k from iic part
+ .long (TWI_EEPROM_SIZE >> 9)
#else
.long ((1056 << 17) | (13 << 13) | (12 * 2))
#endif
@@ -99,3 +100,30 @@
infiniteLoop:
b infiniteLoop
+
+/* the following section is used to store boot commands in */
+/* non-volatile memory. */
+
+ .global BootCommandSection
+BootCommandSection:
+#ifdef SUPPORT_LINUX
+ .string "Bootloader for KB9202 Evaluation Board."
+ .string "c 0x20210000 0x10100000 0x80000 "
+ .string "m 0 0 0 0 0 0 "
+ .string "t 0x20000100 console=ttyS0,115200 root=/dev/ram rw initrd=0x20210000,654933"
+ .string "e 0x10000000 "
+ .string " "
+#else
+#if 1
+ .string "m 42 53 44 0 0 1"
+ .string "ip 206 168 13 194"
+ .string "server_ip 206 168 13 207"
+ .string "tftp 0x20000000 kernel.bin"
+ .string "e 0x20000000"
+#else
+ .string "m 42 53 44 0 0 1"
+ .string "k 0x20000000"
+ .string "e 0x20000000"
+#endif
+ .word 0
+#endif
More information about the p4-projects
mailing list