EDIT: you can grab the newest netboot images here (when there will be newer ones):
http://dev.gentoo.org/~corsair/efika/
Hello,
I've just created a fresh netboot image for my efika and I would like to share it with you 8)
note 1: nothing is tweaked and things aren't working as they should. only basic setup is done right now :roll:
note 2: I have defaulted the console output to ttyPSC0, so if you are using a graphics card then you have to place the correct console= option to the kernel (I think so.. I cannot try though)...
follow this steps, if you want to try it out:
1. Grab the image from here:
http://dev.gentoo.org/~corsair/efika/efika_20070125.img
2. setup a tftp server and make the image accessable
Code:
$ emerge atftp
$ mkdir /tftroot/
$ /etc/init.d/atftp start
$ cp /path/to/efika_20070125.img /tftproot/efika.img
$ chown -R nobody:nobody /tftroot/
3. boot your efika with this command:
Code:
ok boot eth:the.ip.add.res,efika.img
in my case:
Code:
ok boot eth:192.168.0.2,efika.img
4. be happy
5. grab a gentoo stage and install it to your hard disk :-D
I'll tweak the image when I've some spare time again.
Thanks to the folks from debian who have created the mkvmlinuz tool, which made this so painless.
regards,
-corsair
Code:
EFIKA 5K2 Boot Strap [RELEASE BUILD] (c) 2002-2006 bplan GmbH (BUILD 20061101134833)
Running on CPU PVR: 0x80822014
Running on system SVR: 0x80110022
BIOS Code position: 0xFFF040D0
Setup System Config... Done.
Setup Memory Config... Done.
Setup PCI... Done.
Setup ATA... Done.
Setup USB... Done.
Setup ETH... Done.
Memory Test skipped (Warmboot detected)
cpu0: PowerPC,G2 CPUClock 396 Mhz BUSClock 132 Mhz (Version 0x8082,0x2014)
channel 0 unit 0 : ata | IC25N020ATCS05-0 | CS2OA61A
ATA device not present or not responding
Welcome to SmartFirmware(tm) for bplan EFIKA5K2
Version 1.3 (20061107101950)
SmartFirmware(tm) Copyright 1996-2001 by CodeGen, Inc.
All Rights Reserved.
Pegasos BIOS Extensions Copyright 2001-2006 by bplan GmbH.
All Rights Reserved.
ok boot eth:192.168.0.2,efika.img
zImage starting: loaded at 0x00400000 (sp: 0x017ffe90)
Allocating 0x325c54 bytes for kernel ...
OF version = 'EFIKA5K2,1.3'
Allocating 0xe56b2 bytes for initrd ...
initial ramdisk moving 0x1b26000 <- 0x571000 (0xe56b2 bytes)
initrd head: 0x1f8b0808
gunzipping (0x1800000 <- 0x407000:0x5709ef)...done 0x304564 bytes
OF stdout device is: /failsafe
command line: root=/dev/ram rw console=ttyPSC0 panic=10
memory layout at init:
alloc_bottom : 01c0c000
alloc_top : 30000000
alloc_top_hi : f000c000
rmo_top : 30000000
ram_top : f000c000
Looking for displays
instantiating rtas at 0x07ffb000 ... done
copying OF device tree ...
Building dt strings...
Building dt structure...
Device tree strings 0x01c0d000 -> 0x01c0d6cd
Device tree struct 0x01c0e000 -> 0x01c10000
Calling quiesce ...
returning from prom_init
Using Efika machine description
Only using first contiguous memory region<5>Linux version 2.6.19.1-efika (root@powerbook) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #10 We7
Found initrd at 0xc1b26000:0xc1c0b6b2
Efika: PCI bus 0 controlled by /pci@80000000
Zone PFN ranges:
DMA 0 -> 32768
Normal 32768 -> 32768
early_node_map[1] active PFN ranges
0: 0 -> 32768
Built 1 zonelists. Total pages: 32512
Kernel command line: root=/dev/ram rw console=ttyPSC0 panic=10
MPC52xx PIC: MPC52xx PIC Remapped at 0xf0000500
MPC52xx PIC: MPC52xx SDMA Remapped at 0xf0001200
MPC52xx PIC is up and running!
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 125652k/131072k available (2712k kernel code, 5268k reserved, 256k data, 131k bss, 156k init)
Mount-cache hash table entries: 512
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 917k freed
NET: Registered protocol family 16
Efika : Added pic@f0000500 (type 'interrupt-controller' at '/builtin@F0000000/pic@F0000500') to the known devices
Efika : Added bestcomm@f0001200 (type 'dma-controller' at '/builtin@F0000000/bestcomm@F0001200') to the known devices
Efika : Added sram@f0008000 (type 'memory' at '/builtin@F0000000/sram@F0008000') to the known devices
Efika : Added ata@f0003a00 (type 'ata' at '/builtin@F0000000/ata@F0003A00') to the known devices
Efika : Added usb@f0001000 (type 'usb' at '/builtin@F0000000/usb@F0001000') to the known devices
Efika : Added ethernet@f0003000 (type 'network' at '/builtin@F0000000/ethernet@F0003000') to the known devices
Efika : Added sound@f0002200 (type 'sound' at '/builtin@F0000000/sound@F0002200') to the known devices
Efika : Added serial@f0002000 (type 'serial' at '/builtin@F0000000/serial@F0002000') to the known devices
Efika : Added pcidma@f0003800 (type 'dma-controller' at '/builtin@F0000000/pcidma@F0003800') to the known devices
PCI: Probing PCI hardware
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
Serial: MPC52xx PSC UART driver
serial@f0002000: ttyPSC0 at MMIO 0xf0002000 (irq = 129) is a MPC52xx PSC
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
MPC52xx/OpenFirmware: 13696 kB of free SRAM
eth0: Phy @ 0x10, type GENERIC (0x00008201)
ata: MPC52xx IDE/ATA libata driver
ata1: PATA max PIO4 cmd 0x0 ctl 0xC9012A5C bmdma 0x0 irq 135
scsi0 : mpc52xx_ata
ata1.00: ATA-5, max UDMA/100, 39070080 sectors: LBA
ata1.00: ata1: dev 0 multi count 0
ata1.00: configured for PIO4
scsi 0:0:0:0: Direct-Access ATA IC25N020ATCS05-0 CS2O PQ: 0 ANSI: 5
SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
ppc-of-ohci usb@f0001000: USB Host Controller
ppc-of-ohci usb@f0001000: new USB bus registered, assigned bus number 1
ppc-of-ohci usb@f0001000: irq 134, io mem 0xf0001000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v3.0
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
IPv4 over IPv4 tunneling driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 156k init
init started: BusyBox v1.2.2 (2007.01.25-21:08+0000) multi-call binary
efika login: root
Password:
~ # ls -l
~ # ls /
bin home lost+found root usr
dev lib mnt sbin var
etc linuxrc proc tmp
~ # ls / -l
drwxr-xr-x 2 root 0 2048 Jan 25 21:12 bin
drwxr-xr-x 3 root 0 1024 Jan 25 22:25 dev
drwxr-xr-x 4 root 0 1024 Jan 25 21:27 etc
drwxr-xr-x 2 root 0 1024 Jan 25 21:12 home
drwxr-xr-x 2 root 0 1024 Jan 25 21:12 lib
lrwxrwxrwx 1 root 0 11 Jan 25 21:28 linuxrc -> bin/busybox
drwx------ 2 root 0 12288 Jan 25 21:28 lost+found
drwxr-xr-x 2 root 0 1024 Jan 25 21:12 mnt
dr-xr-xr-x 36 root 0 0 Jan 25 22:25 proc
drwxr-xr-x 2 root 0 1024 Jan 25 21:21 root
drwxr-xr-x 2 root 0 1024 Jan 25 21:12 sbin
drwxrwxrwt 2 root 0 1024 Jan 25 21:01 tmp
drwxr-xr-x 3 root 0 1024 Jan 25 21:12 usr
drwxr-xr-x 7 root 0 1024 Jan 25 21:12 var
~ # uname -r
2.6.19.1-efika
~ #