diff --git a/sys/arch/arm26/boot/BBBB,fd1 b/sys/arch/arm26/boot/BBBB,fd1 index d11921a42251..a924bc80a63c 100644 --- a/sys/arch/arm26/boot/BBBB,fd1 +++ b/sys/arch/arm26/boot/BBBB,fd1 @@ -1,5 +1,5 @@ REM>BBBB -REM $NetBSD: BBBB,fd1,v 1.2 2000/07/16 12:46:50 bjh21 Exp $ +REM $NetBSD: BBBB,fd1,v 1.3 2000/07/22 15:36:15 bjh21 Exp $ REM REM Copyright (c) 1998, 1999, 2000 Ben Harris REM All rights reserved. @@ -30,7 +30,7 @@ REM This file is part of NetBSD/arm26 -- a port of NetBSD to ARM2/3 machines. REM REM Ben's BASIC BSD Booter (allegedly) debug% = 1 -PRINT ">> BBBB, Revision 0.31" +PRINT ">> BBBB, Revision 0.32" SYS "OS_ReadMemMapInfo" TO nbpp%, npages% IF debug% THEN PRINT "Machine has ";npages%;" pages of ";nbpp% DIV 1024;"K each. "; @@ -123,6 +123,12 @@ IF FNvdu_var(9) <> 3 THEN PRINT "WARNING: Current screen mode has fewer than eight bits per pixel." PRINT " Console display may not work correctly (or at all)." ENDIF + +REM Try to ensure that we leave the page registers for podule ROMs pointing +REM at the page with the ECID in it, so that NetBSD has a hope of finding it. +FOR pod% = 0 TO 3 + SYS "XPodule_ReadID",,,,pod% +NEXT PROCstart_kernel(config%, 0, 0, 0, entry%) END @@ -423,12 +429,13 @@ DEF PROCstart_kernel(A%, B%, C%, D%, E%) ADR R5, regs% LDMIA R5, {R10-R14} MOV PC, R4 - .regs% + .regs% EQUD &02088000; R10 -- Stack limit EQUD &00000000; R11 -- Frame pointer (NULL in this case) EQUD &00000000; R12 -- Scratch in non-re-entrant APCS EQUD &02090000; R13 -- Stack pointer EQUD &03800003; R14 -- Return address and mode + .junk% ] NEXT CALL asm% diff --git a/sys/arch/arm26/boot/BBBB,ffb.uue b/sys/arch/arm26/boot/BBBB,ffb.uue index 6e9388f2e4f3..6d719ee380fe 100644 --- a/sys/arch/arm26/boot/BBBB,ffb.uue +++ b/sys/arch/arm26/boot/BBBB,ffb.uue @@ -1,314 +1,319 @@ -$NetBSD: BBBB,ffb.uue,v 1.1 2000/07/16 12:54:04 bjh21 Exp $ +$NetBSD: BBBB,ffb.uue,v 1.2 2000/07/22 15:36:15 bjh21 Exp $ begin 664 BBBB,ffb -M#0`!"O0^0D)"0@T``CWT("1.971"4T0Z($)"0D(L9F0Q+'8@,2XR(#(P,#`O -M,#2!F;W)M(&UU -M2!F;W)M(&UU +M2!N;W0@ -M8F4@=7-E9"!T;R!E;F1O2!N;W0@ +M8F4@=7-E9"!T;R!E;F1O2D-`"`.9&5B=62D-`4`.9&5B=6"([('YH;W=T;R4[("(I(@T`6Q?R;&]A9%]K97)N96PH9FEL -M920I#0!<#=X@4"4@,3`R,PT`707T#0!>"UL@3U!4(#(-`%\-("YC;VYF:6F4E("`@("`@("`@("`@("`[('1X -M='-I>F4-`&HK("!%455$(&1A=&%B87-E)2`@("`@("`@("`@("`[(&1A=&%B -M87-E#0!K*R`@15%51"!D871A'!I>&5L`0\F=E=%]M96U?;6%P#0'J%\B9(")/4U]'971% +M;G8B(+@@020-`?03YR!D96)U9R4@C"#Q($$D#0'^,LB5(,!!)"P@,2D@/#X@ +M(B`B((`@J2A!)"D@/B`P($$D(#T@P4$D+"`R*2`Z(,X-`@@ER)4@P$$D+"`Q +M*2`]("(@(B!!)"`](,%!)"P@,BD@.B#.#0(2("([('YH;W=T;R4[("(I(@T#CA?R;&]A9%]K97)N96PH9FEL +M920I#0.8#=X@4"4@,3`R,PT#H@7T#0.L"UL@3U!4(#(-`[8-("YC;VYF:6*B`@15%5 +M1"`P("`@("`@("`@("`@("`@("`@("`@.R!B;V]T9&5V#0/H)R`@15%51"!S +MF4E("`@("`@("`@("`@("`[('1X +M='-I>F4-!"0K("!%455$(&1A=&%B87-E)2`@("`@("`@("`@("`[(&1A=&%B +M87-E#00N*R`@15%51"!D871A'!I>&5L`5=#0!Y!`T`>ACG(*1V9'5?=F%R*#DI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A<&%G97,E(#T@9&%T87-I>F4E(($@;F)P<"4- +M#3XO("!BF4E#0UF%B`@96YT'1S:7IE)3L-#80=("#C('!G)2`](#`@N"!T>'1P86=EF4E +M.PT.$#@@(.,@<&F4E(($@;F)P<"4@.B#T(&]V97)S +M:&]O="!I$-#FH$#0YT#-T@\G1W:7)L +M#0Y^(R`@\2#!(GPO+5PB+"!T=VER;"4K,2P@,2DKO2@X*3L-#H@1("!T=VER +M;"4@*ST@,0T.DAD@('1W:7)L)2`]('1W:7)L)2"#(#0-#IP%X0T.I@0-#K`7 +MW2"D=&]L;W=E2!P;VEN=`T/JA`@(.H@87-M)2P@4"4-#[00("#>(&%S +M;24@,C4V#0^^&2`@XR!P87-S)2`](#`@N"`R((@@,@T/R`\@("`@4"4]87-M +M)0T/TA,@("`@6R!/4%0@<&%S("`@("`@(%-722`@("`@(E-O=6YD +M7T5N86)L92(-$&@=("`@("`@4U=)("`@("`B3U-?26YT3V9F(@T0("`@("`@4U=)("`@("`B3U-? +M16YT97)/4R(-$(9'("`@("`@.R!792!N;W<@871T96UP="!T;R!B92!!4$-3 +M(&-O;7!L:6%N="!O;B!E;G1R>2!T;R!T:&4@:V5R;F5L+@T0D$`@("`@("`[ +M($MEF4E*0T1VB<]=F%L)2`K +>("AS:7IE)2`M(#$I((`@K"`H