PERFORCE change 96609 for review

Warner Losh imp at FreeBSD.org
Wed May 3 19:39:04 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=96609

Change 96609 by imp at imp_hammer on 2006/05/03 19:38:50

	Support FreeBSD booting as well as Linux.
	load 12 * 2 512 byte pages, not 12 * 1024 512 byte pages...

Affected files ...

.. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/arm_init.S#3 edit

Differences ...

==== //depot/projects/arm/src/sys/boot/arm/at91/bootspi/arm_init.S#3 (text+ko) ====

@@ -59,7 +59,7 @@
 dabtvec:
                 B           dabtvec         	@; Data Abort
 rsvdvec:
-		.long	((1056 << 17) | (13 << 13) | (12 * 1024))
+		.long	((1056 << 17) | (13 << 13) | (12 * 2))
 irqvec:
                 ldr         pc, [pc,#-0xF20]    @; IRQ : read the AIC
 fiqvec:
@@ -101,9 +101,18 @@
 
 	.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
+	.string "Bootloader for KB9202 Evaluation Board."
+	.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                           "
+#endif


More information about the p4-projects mailing list