Skip to contentSkip to conversation

Initramfs problem on virtex4fx

DISCUSSION schardt 2 participants 3 messages Nov 22, 2007 – Nov 23, 2007

lore
Share & tools
lore

schardt

author
#0 lore raw

Hi all,

i try to run linux from flash with the initramfs as root filesystem. i wrote a simple hello_world as init to test the initramfs.

the kernel boots normaly, but instead of the complete "Hello World" i see only "He"
and the system hangs.

Does anyone have similar problems ? And solved it ? ;)

Regards
Georg

-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------

author
#1 lore raw

additional i tried a initramfs rootfs with busybox

Freeing unused kernel memory: 1944k init
init started: BusyBox v1.7.0 (2007-11-07 14:29:33 CET) starting pid 152eth0: XTemac: Options: 0xb8f2
eth0: XTemac: We renegotiated the speed to: 1000
eth0: XTemac: speed set to 1000Mb/s
, tty '': '/etc/init.d/

this looks very strange to me....

Georg

Quoted 32 lines · schardt

Hi all,

i try to run linux from flash with the initramfs as root filesystem. i wrote a simple hello_world as init to test the initramfs.

the kernel boots normaly, but instead of the complete "Hello World" i see only "He"
and the system hangs.

Does anyone have similar problems ? And solved it ? ;)

Regards
Georg

-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum J=FClich GmbH
52425 J=FClich

Sitz der Gesellschaft: J=FClich
Eingetragen im Handelsregister des Amtsgerichts D=FCren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in B=E4rbel Brumme-Bothe Gesch=E4ftsf=FChrung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
_______________________________________________
Linuxppc-embedded mailing list [email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 1 line

=20

-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum J=FClich GmbH
52425 J=FClich

Sitz der Gesellschaft: J=FClich
Eingetragen im Handelsregister des Amtsgerichts D=FCren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in B=E4rbel Brumme-Bothe Gesch=E4ftsf=FChrung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------

#2 lore raw
In reply to schardt
Quoted 5 lines · schardt

Hi all,

i try to run linux from flash with the initramfs as root filesystem. i wrote a simple hello_world as init to test the initramfs.

Quoted 9 lines

the kernel boots normaly, but instead of the complete "Hello World" i see only "He"
and the system hangs.

Does anyone have similar problems ? And solved it ? ;)

Regards
Georg

The Pico Linux BSP uses initramfs. The whole Pico Linux development
environment including busybox and an initramfs cross compilers, Linux source - pretty much everything you need is at
http://www.picocomputing.com/downloads/software.php, everything is incorporated into a Colinux install, though you can just pull out the necescary peices - the cross compiler, busy box, intramfs and linux source if you are working completely under linux.

Quoted 18 lines

-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
_______________________________________________
Linuxppc-embedded mailing list [email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Signature · 8 lines
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       [email protected] 	  http://www.dlasys.net
fax: 1.253.369.9244 			           Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.

"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein