Hi David,
The file I am modifying is "user/init/simpleinit.c". Does the console
device look
OK below?
Thx
Arun
[images$:1080] mount -o loop -t romfs romfs.img /mnt
[images$:1081] ls /mnt
bin dev etc home lib mnt proc tmp usr var
[images$:1082] ls /mnt/dev
console ptyp0 ptyp8 qspi0 qspi3 ram1 rom4 tty1 ttyp5
ttypd usb2
cua0 ptyp1 ptyp9 qspi1 qspi4 ram2 rom5 tty2 ttyp6
ttype usb3
cua1 ptyp2 ptypa qspi10 qspi5 ram3 rom6 tty3 ttyp7
ttypf usb4
ipsec ptyp3 ptypb qspi11 qspi6 random rom7 ttyp0 ttyp8
ttyS0 usb5
kmem ptyp4 ptypc qspi12 qspi7 rom0 rom8 ttyp1 ttyp9
ttyS1 usb6
mem ptyp5 ptypd qspi13 qspi8 rom1 rom9 ttyp2 ttypa
urandom usb7
null ptyp6 ptype qspi14 qspi9 rom2 tty ttyp3 ttypb
usb0 zero
ppp ptyp7 ptypf qspi2 ram0 rom3 tty0 ttyp4 ttypc usb1
[images$:1083] ls -alg /mnt/dev/console
crw------- 1 root 5, 1 Dec 31 1969 /mnt/dev/console
[images$:1084]
David McCullough wrote:
Jivin Arun Biyani lays it down ...
If it won't finish booting, how do I check /dev/console is the correct
devnode ?
Mount the filesystem on your host ? For example something like:
mount -o loop -t romfs romfs.img /mnt
Distribution - uclinux-test-dist-20070108
Target Board - Freescale 5272C3
Not using shared libraries.
Could you confirm that I am modifying the correct file?
What file are you modifying again ?
Cheers,
Davidm
David McCullough wrote:
Jivin Arun Biyani lays it down ...
I currently can only boot up in single user mode. In order to debug
this, I put
a few printf statements in user/init/simpleinit.c. However, output from
those print
statements never shows up on the console. Isn't initialization done by
user application
"init" and the source is simpleinit.c? The other print statements in
start_kernel and
rest_init all are writing to the console and I can see the outputs. Am I
modifying
the correct file?
check your /dev/console is the correct devnode etc.
Tell us what arch/version etc so we know if there are any known or likely
problems with user apps.
Try static linking your init (if you are using shared libs),
Cheers,
Davidm
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev