Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
README | H A D | 22-Dec-2006 | 1.8 KiB | 46 | 37 | |
cerf | H A D | 02-Sep-2010 | 1.9 KiB | 143 | 126 | |
clock.c | H A D | 22-Dec-2006 | 2.8 KiB | 160 | 132 | |
compile.c | H A D | 22-Dec-2006 | 703 | 35 | 29 | |
dat.h | H A D | 22-Dec-2006 | 2.7 KiB | 160 | 120 | |
devboot.c | H A D | 22-Dec-2006 | 2.1 KiB | 133 | 111 | |
devether.c | H A D | 22-Dec-2006 | 11.1 KiB | 618 | 531 | |
devrtc.c | H A D | 22-Dec-2006 | 5.5 KiB | 370 | 276 | |
devuart.c | H A D | 22-Dec-2006 | 18.6 KiB | 1,065 | 803 | |
etheremac.c | H A D | 22-Dec-2006 | 20.5 KiB | 830 | 669 | |
etherif.h | H A D | 22-Dec-2006 | 881 | 38 | 32 | |
fns.h | H A D | 22-Dec-2006 | 3.7 KiB | 148 | 141 | |
fpi.h | H A D | 22-Dec-2006 | 1.6 KiB | 62 | 48 | |
fpipower.c | H A D | 22-Dec-2006 | 18.2 KiB | 971 | 809 | |
gpio.c | H A D | 22-Dec-2006 | 2.1 KiB | 107 | 81 | |
iic.c | H A D | 22-Dec-2006 | 12.3 KiB | 606 | 499 | |
inb.s | H A D | 22-Dec-2006 | 1.6 KiB | 128 | 108 | |
io.h | H A D | 22-Dec-2006 | 7.3 KiB | 302 | 244 | |
l.s | H A D | 22-Dec-2006 | 14.5 KiB | 796 | 591 | |
main.c | H A D | 22-Dec-2006 | 12.1 KiB | 720 | 580 | |
mal.c | H A D | 22-Dec-2006 | 7.7 KiB | 335 | 264 | |
mem.h | H A D | 22-Dec-2006 | 3.8 KiB | 148 | 86 | |
mkfile | H A D | 22-Dec-2006 | 1.9 KiB | 105 | 80 | |
mmu.c | H A D | 22-Dec-2006 | 2.4 KiB | 123 | 84 | |
nand.c | H A D | 22-Dec-2006 | 1.4 KiB | 97 | 72 | |
nofp.s | H A D | 22-Dec-2006 | 339 | 32 | 19 | |
pci.c | H A D | 22-Dec-2006 | 18.5 KiB | 982 | 729 | |
physmem.h | H A D | 22-Dec-2006 | 608 | 23 | 17 | |
powerbreak.c | H A D | 22-Dec-2006 | 2.2 KiB | 124 | 106 | |
rmap.c | H A D | 22-Dec-2006 | 1.7 KiB | 107 | 93 | |
tlb.s | H A D | 22-Dec-2006 | 859 | 31 | 12 | |
trap.c | H A D | 22-Dec-2006 | 10.7 KiB | 582 | 501 | |
uart.c | H A D | 22-Dec-2006 | 2.6 KiB | 140 | 109 | |
uart.h | H A D | 22-Dec-2006 | 1.7 KiB | 102 | 67 |
README
1Cerfcube 405EP 2 3This is the basis of a port to a range of IBM PowerPC 405 devices. 4At some point all the common code will move to ../ppc, as is done 5for SA1110, MPC8xx, and others. 6 7Currently untested: 8 - both EMAC0 and EMAC1 are initialised, but EMAC1 hasn't been tested (i need to get a cable made); 9 the PHY for it is detected and initialised, so i think it should work 10 - pci has not been tested since i haven't yet got the mini-PCI card i need 11 12Will change: 13 - devuart.c/uart.h will be replaced by ../port/devuart.c and uart405.c eventually 14 - power control will be extended 15 16mk in this directory should produce a file `icerfhd', which is icerf parcelled as ppcboot/uboot expects it. 17put it where your tftp server can find it. 18 19on the machine to be used as file server, run inferno and start svc/net 20to serve Styx 21 22To boot Inferno: 23 1. set up a dhcp/tftp server for the EMAC0 MAC address, referring to the icerfhd file as the bootfile. 24 2. connect a b115200 l8 pn serial port to talk to the ppcboot/uboot bootstrap 25 3. reset the 405, and interrupt the automatic boot to get to the bootstrap's prompt 26 4. type 27 bootp 28 5. if dhcp is set correctly, that should load the Inferno boot image into memory at 0x300000 29 6. type 30 bootm 31 to boot that image. 32 33To put Inferno kernel image (icerfhd) on NAND flash: 34 - the boot area is 0 to 0x100000 on NAND (perhaps a bit more, but 0x100000 is currently fine) 35 1. get to the bootstrap's prompt. 36 2. nand erase 0 0x100000 37 3. bootp # loads the image to 0x300000 by tftp 38 4. nand write 0x300000 0 0x100000 39 5. a subsequent {nand; bootm} (as for auto boot) should run that kernel. 40 41To initialise a file system on the NAND flash: 42 1. set logfsformat=yes in the environment 43 2. boot inferno 44 3. choose remote file system or kernel file system when offered 45 4. the empty flash file system should be in /n/local 46