Name
Date
Size
#Lines
LOC

..--

READMEH A D22-Dec-20061.8 KiB4637

cerfH A D02-Sep-20101.9 KiB143126

clock.cH A D22-Dec-20062.8 KiB160132

compile.cH A D22-Dec-2006703 3529

dat.hH A D22-Dec-20062.7 KiB160120

devboot.cH A D22-Dec-20062.1 KiB133111

devether.cH A D22-Dec-200611.1 KiB618531

devrtc.cH A D22-Dec-20065.5 KiB370276

devuart.cH A D22-Dec-200618.6 KiB1,065803

etheremac.cH A D22-Dec-200620.5 KiB830669

etherif.hH A D22-Dec-2006881 3832

fns.hH A D22-Dec-20063.7 KiB148141

fpi.hH A D22-Dec-20061.6 KiB6248

fpipower.cH A D22-Dec-200618.2 KiB971809

gpio.cH A D22-Dec-20062.1 KiB10781

iic.cH A D22-Dec-200612.3 KiB606499

inb.sH A D22-Dec-20061.6 KiB128108

io.hH A D22-Dec-20067.3 KiB302244

l.sH A D22-Dec-200614.5 KiB796591

main.cH A D22-Dec-200612.1 KiB720580

mal.cH A D22-Dec-20067.7 KiB335264

mem.hH A D22-Dec-20063.8 KiB14886

mkfileH A D22-Dec-20061.9 KiB10580

mmu.cH A D22-Dec-20062.4 KiB12384

nand.cH A D22-Dec-20061.4 KiB9772

nofp.sH A D22-Dec-2006339 3219

pci.cH A D22-Dec-200618.5 KiB982729

physmem.hH A D22-Dec-2006608 2317

powerbreak.cH A D22-Dec-20062.2 KiB124106

rmap.cH A D22-Dec-20061.7 KiB10793

tlb.sH A D22-Dec-2006859 3112

trap.cH A D22-Dec-200610.7 KiB582501

uart.cH A D22-Dec-20062.6 KiB140109

uart.hH A D22-Dec-20061.7 KiB10267

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