shell not launched on custom OMAP3 platform
Michael J. Hammel
busybox at graphics-muse.org
Wed Apr 4 04:16:27 UTC 2012
On Sat, 2012-03-17 at 19:46 +0100, larbi.joubala at gmail.com wrote:
> There is no major and minor defined in omap serial driver in the kernel
> 3.2.9! I asked in the linux mailing list how can I get these numbers.
> Waiting an answer, I m going to put some logs in busybox or maybe
> activate if there are already logs to see at each step it stucks.
I use the following in an S00dev that gets run near the start
of /etc/inittab:
if [ ! -c /dev/ttyO0 ]; then mknod /dev/ttyO0 c 253 0 ; fi
if [ ! -c /dev/ttyO1 ]; then mknod /dev/ttyO1 c 253 1 ; fi
if [ ! -c /dev/ttyO2 ]; then mknod /dev/ttyO2 c 253 2 ; fi
This seems to work for 3.2.12. I'm testing 3.2.14 at the moment. I got
the major/minor numbers by booting a default Buildroot build, I think,
using Busybox 1.19.4 and mdev.
If you want to see how I set up my init scripts and inittab, take a look
at BeagleBox:
http://gitorious.org/beaglebox
http://gitorious.org/beaglebox/beaglebox/trees/master/src/buildroot/skeleton/etc
BeagleBox used to boot into X last year, but I had to layoff for a year
to finish another project, so I'm rebuilding the boot process and just
recently got the rootfs properly booting to a login on ttyO2. Still
don't have access to the HDMI output (re: tty0) - possibly need to load
the dss2 driver or something.
Hope that helps.
--
Michael J. Hammel <busybox at graphics-muse.org>
More information about the busybox
mailing list