Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2006 19:38:52 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 96609 for review
Message-ID:  <200605031938.k43Jcqih095003@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96609

Change 96609 by imp@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



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