files to copy/link
141 22:09 ln macppc/installation/ofwboot.elf .
142 22:09 ln macppc/installation/ofwboot.xcf .
144 22:12 cp -p /export/nandra-20040128b/checkout/src/sys/arch/macppc/stand/ofwboot/obj/ofwboot .
146 22:12 ln ofwboot 0
149 22:23 ln macppc/binary/kernel/netbsd-GENERIC_MD.gz netbsd.macppc
cc -o date -static date.o /export/nandra-20040128b/checkout/d/usr/lib/libutil.a netdate.o
OR:
139 14:15 pushd /export/20050210/checkout/src/bin/date
144 14:17 cc -c date.c
145 14:17 cc -c netdate.c
146 14:18 cc -o date -static date.o /export/20050210/checkout/src/destdir.macppc/usr/lib/libutil.a netdate.o
148 14:19 mkdir /export/CD-R/bootcd2/dir/bin
149 14:19 cp date /export/CD-R/bootcd2/dir/bin
(20050829)
129 10:33 cd /e/tc2120/20050829/checkout/src/bin/date
132 10:34 cc -c netdate.c
133 10:34 cc -c date.c
144 10:39 cc -o date -static date.o -L/e/tc2120/20050829/checkout/src/obj/destdir.macppc/usr/lib -lutil netdate.o
make
ttyp7:makoto@harry 22:36:57/040429(~...CD-R/bootcd2)> make
mkisofs -part -hfs -r -J -l -o CDimage dir
mkisofs: Warning: no Apple/Unix files will be decoded/mapped
2.38% done, estimate finish Thu Apr 29 22:38:35 2004
ttyp7:makoto@harry 22:39:07/040429(~...CD-R/bootcd2)> hexdump dir/0 | head -3
0000000 7d00 00a6 3800 0000 7c00 0124 4c00 012c
0000010 7c10 83a6 7c12 83a6 7c14 83a6 7c16 83a6
0000020 7c18 83a6 7c1a 83a6 7c1c 83a6 7c1e 83a6
ttyp7:makoto@harry 22:39:50/040429(~...CD-R/bootcd2)> hexdump CDimage |less-3
..
001a000 7d00 00a6 3800 0000 7c00 0124 4c00 012c
001a010 7c10 83a6 7c12 83a6 7c14 83a6 7c16 83a6
001a000/0x200 = 001a0/2 = 000b0
bootcd/bootxx.c
..
int block_table[MAXBLOCKNUM] = { 0xb0, 0 };
.. no need to change,
|