[OLPC-devel] status with linuxbios and currnet and marcelo's boot code and jordan's kernel

Ronald G Minnich rminnich at lanl.gov
Sun Jun 25 18:40:04 EDT 2006


I can do the following:

kernel file is: vmlinuz-2.6.16-1.2289_FC6
kernel cmdline is: root=/dev/ram rw console=ttyS0,115200 
earlyprintk=ttyS0,115200,keep
kernel initrd is: initrd-2.6.16-1.2289_FC6-desktop.img
change any option? (Y/N)
n
Select USB partition
0: mtdblock0
1: sda
2: sda1
3: sda2
4: sda3
2
EXT2-fs warning (device sda1): ext2_fill_super: mounting ext3 filesystem 
as ext2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Starting new kernel
Linux version 2.6.16-1.2289_FC6 
(brewbuilder at hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20060612 
(Red Hat 4.16
BIOS-provided physical RAM map:


In other words, I am able to boot linux in flash, and use marcelo's boot 
loader idea + kexec etc. to boot a new kernel.

Then from there ...

  BIOS-e820: 0000000000000000 - 0000000000000728 (reserved)
  BIOS-e820: 0000000000000728 - 00000000000a0000 (usable)
  BIOS-e820: 0000000000100000 - 0000000006e00000 (usable)
early console enabled
0MB HIGHMEM available.
110MB LOWMEM available.
Using x86 segment limits to approximate NX protection
DMI not present or invalid.
Using APIC driver default
ACPI: Unable to locate RSDP
Allocating PCI resources starting at 10000000 (gap: 06e00000:f9200000)
Built 1 zonelists
Kernel command line: root=/dev/ram rw console=ttyS0,115200 
earlyprintk=ttyS0,115200,keep
No local APIC present or hardware disabled
Initializing CPU#0
CPU 0 irqstacks, hard=c079f000 soft=c077f000
PID hash table entries: 512 (order: 9, 2048 bytes)
Detected 398.491 MHz processor.
Using tsc for high-res timesource
keeping early console
Console: colour dummy device 80x25
Linux version 2.6.16-1.2289_FC6 
(brewbuilder at hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20060612 
(Red Hat 4.16
Linux version 2.6.16-1.2289_FC6 
(brewbuilder at hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20060612 
(Red Hat 4.16
BIOS-provided physical RAM map:
BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 0000000000000728 (reserved)
  BIOS-e820: 0000000000000000 - 0000000000000728 (reserved)
  BIOS-e820: 0000000000000728 - 00000000000a0000 (usable)
  BIOS-e820: 0000000000000728 - 00000000000a0000 (usable)
  BIOS-e820: 0000000000100000 - 0000000006e00000 (usable)
  BIOS-e820: 0000000000100000 - 0000000006e00000 (usable)
early console enabled
early console enabled
0MB HIGHMEM available.
0MB HIGHMEM available.
110MB LOWMEM available.
110MB LOWMEM available.

it knows how much memory there is ... I did set it to 100 when I created 
the args from mkelfimage.

Then:

Using x86 segment limits to approximate NX protection
Using x86 segment limits to approximate NX protection
DMI not present or invalid.
DMI not present or invalid.
Using APIC driver default
Using APIC driver default
ACPI: Unable to locate RSDP
ACPI: Unable to locate RSDP
Allocating PCI resources starting at 10000000 (gap: 06e00000:f9200000)
Allocating PCI resources starting at 10000000 (gap: 06e00000:f9200000)
Built 1 zonelists
Built 1 zonelists
Kernel command line: root=/dev/ram rw console=ttyS0,115200 
earlyprintk=ttyS0,115200,keep
Kernel command line: root=/dev/ram rw console=ttyS0,115200 
earlyprintk=ttyS0,115200,keep
No local APIC present or hardware disabled
No local APIC present or hardware disabled
Initializing CPU#0
Initializing CPU#0
CPU 0 irqstacks, hard=c079f000 soft=c077f000
CPU 0 irqstacks, hard=c079f000 soft=c077f000
PID hash table entries: 512 (order: 9, 2048 bytes)
PID hash table entries: 512 (order: 9, 2048 bytes)
Detected 398.491 MHz processor.
Detected 398.491 MHz processor.
Using tsc for high-res timesource
Using tsc for high-res timesource
keeping early console
keeping early console
Console: colour dummy device 80x25
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 105776k/112640k available (2116k kernel code, 6464k reserved, 
1182k data, 240k init, 0k highmem)
Memory: 105776k/112640k available (2116k kernel code, 6464k reserved, 
1182k data, 240k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... 
Checking if this processor honours the WP.
Ok.
Calibrating delay using timer specific routine.. Calibrating delay using 
timer specific routine.. 799.63 BogoMIPS )
799.63 BogoMIPS (lpj=1599265)

clock interrupts are working ...

Security Framework v1.0.0 initialized
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Initializing.
SELinux:  Starting in permissive mode
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
Mount-cache hash table entries: 512
CPU: L1 I Cache: 16K (32 bytes/line), D cache 16K (32 bytes/line)
CPU: L1 I Cache: 16K (32 bytes/line), D cache 16K (32 bytes/line)
Checking 'hlt' instruction... Checking 'hlt' instruction... OK.
OK.
SMP alternatives: switching to UP code
SMP alternatives: switching to UP code
Freeing SMP alternatives: 16k freed
Freeing SMP alternatives: 16k freed
CPU0: CPU0: NSC NSC Geode(TM) Integrated Processor by National 
SemiGeode(TM) Integrated Processor by National Semi2
  stepping 02
SMP motherboard not detected.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
Brought up 1 CPUs
checking if image is initramfs...checking if image is initramfs...it 
isn't (bad gzip magic numbers); looks like and
it isn't (bad gzip magic numbers); looks like an initrd

And things don't go well with the initrd ...

well, that's not bad. I will try poking around some more.

Note that this is the olpc devel usb stick, with three partitions. I am 
going to try it without the initrd and see how it goes. But a LOT of 
stuff is working ...

ron



More information about the Devel mailing list