> -----Original Message----- > From: Sz Lian Yu [mailto:[email protected]] > Sent: Friday, August 21, 2009 6:55 AM > To: [email protected]; Premi, Sanjeev > Subject: RE: busybox source of ramdisk... > > > TI releases image file ramdisk.gz,and target board could boot > with it successfully. > But it's lack of some functions such as telnetd,tab completion... > So i would like to add some functions into it. > > In busybox source code, i assign install output to that > unpack ramdisk path. ( That's so called override ) > But after that , i get error message which shows...... > > nit started: BusyBox v1.14.3 (2009-08-11 22:32:23 CST) > Bad inittab entry at line 5 > Bad inittab entry at line 39 > Bad inittab entry at line 40 > Bad inittab entry at line 41 > can't open /dev/si: No such file or directory > can't open /dev/~~: No such file or directory > can't open /dev/l0: No such file or directory > can't open /dev/l1: No such file or directory > can't open /dev/l2: No such file or directory > can't open /dev/l3: No such file or directory > can't open /dev/l4: No such file or directory > can't open /dev/l5: No such file or directory > can't open /dev/l6: No such file or directory > can't open /dev/z6: No such file or directory > can't open /dev/con: No such file or directory > process '/sbin/sulogin' (pid 269) exited. Scheduling for restart. > process '/sbin/getty console' (pid 270) exited. Scheduling > for restart. > can't open /dev/z6: No such file or directory > can't open /dev/con: No such file or directory > process '/sbin/sulogin' (pid 271) exited. Scheduling for restart. > process '/sbin/getty console' (pid 272) exited. Scheduling > for restart. > can't open /dev/z6: No such file or directory > can't open /dev/con: No such file or directory > process '/sbin/sulogin' (pid 273) exited. Scheduling for restart. > process '/sbin/getty console' (pid 274) exited. Scheduling > for restart. > can't open /dev/z6: No such file or directory > can't open /dev/con: No such file or directory > process '/sbin/sulogin' (pid 275) exited. Scheduling for restart. > process '/sbin/getty console' (pid 276) exited. Scheduling > for restart. > can't open /dev/z6: No such file or directory > can't open /dev/con: No such file or directory > process '/sbin/sulogin' (pid 277) exited. Scheduling for restart. > process '/sbin/getty console' (pid 278) exited. Scheduling > for restart. >
It appears that you are trying to use the inittab from the Linux manpage along with the busybox you are building. At the first look it appears that you are missing execulables sulogin, getty etc. > > > > > As for my /etc/inittab file is... > > # /etc/inittab: init(8) configuration. > # $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ > > # The default runlevel. > id:3:initdefault: > > # Boot-time system configuration/initialization script. > # This is run first except when booting in emergency (-b) mode. > si::sysinit:/etc/init.d/rcS > > # What to do in single-user mode. > ~~:S:wait:/sbin/sulogin > > # /etc/init.d executes the S and K scripts upon change > # of runlevel. > # > # Runlevel 0 is halt. > # Runlevel 1 is single-user. > # Runlevels 2-5 are multi-user. > # Runlevel 6 is reboot. > > l0:0:wait:/etc/init.d/rc 0 > l1:1:wait:/etc/init.d/rc 1 > l2:2:wait:/etc/init.d/rc 2 > l3:3:wait:/etc/init.d/rc 3 > l4:4:wait:/etc/init.d/rc 4 > l5:5:wait:/etc/init.d/rc 5 > l6:6:wait:/etc/init.d/rc 6 > # Normally not reached, but fallthrough in case of emergency. > z6:6:respawn:/sbin/sulogin > > # What to do when CTRL-ALT-DEL is pressed. > ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now > > # Action on special keypress (ALT-UpArrow). > #kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab > to let this work." > > # What to do when the power fails/returns. > pf:owerwait:/etc/init.d/powerfail start > pn:owerfailnow:/etc/init.d/powerfail now > po:owerokwait:/etc/init.d/powerfail stop There are multiple typos here - owerwait, owerfailnow, owerokwait. First character "p" ismissing. > > # This line provides a nice out-of-box experience. For > regular use, you > # should replace it with the proper getty lines below. > con:2345:respawn:/sbin/getty console > > Do i miss something??? > Are you sure that you have mapped the ids 10, 11, ..., z6, pf, pn, etc. correctly. Best regards, Sanjeev > --- 09/8/20 (四),Premi, Sanjeev <[email protected]> 寫道: > > > 寄件者: Premi, Sanjeev <[email protected]> > > 主旨: RE: busybox source of ramdisk... > > 收件者: "Sz Lian Yu" <[email protected]>, > "[email protected]" > <[email protected]> > > 日期: 2009年8月20日,四,下午9:36 > > > -----Original Message----- > > > From: [email protected] > > > > > [mailto:[email protected] > > > ] On Behalf Of Sz Lian Yu > > > Sent: Thursday, August 20, 2009 6:37 AM > > > To: [email protected] > > > Subject: busybox source of ramdisk... > > > > > > (Q1) > > > Does somebody know where's the busy-box source of TI > > supplied ramdisk? > > > I would like to add some functions into it , such as > > "Tab > > > completion" and other linux commands... > > > > > There is one source for all busybox sources. The same > > article describes the location and the version you can > > download; if for some reason you cannot use the latest one. > > See the section "Download and Build Busybox" in the same > > article. > > > > > (Q2) > > > BTW, > > > http://tiexpressdsp.com/index.php/Creating_a_Root_File_System_ > > > > for_Linux_on_OMAP35x > > > told us how to build it ,and i follow the steps , > > override > > > the output to TI supplied ramdisk, > > > reboot target , the result shows many errors... (I am > > using DM365 EVM) > > > > Can you explain "override" and paste some errors? > > > > Best regards, > > Sanjeev > > > > > > Hope someone give me a hint... > > > > > > > > > > > > ___________________________________________________ > > > 蠟腔汜魂撈媆籵 ㄜ > > 籵﹜猸﹜汜魂﹜馱釬珨棒詻隅ㄐ > > > http://messenger.yahoo.com.tw/ > > > > > > > _______________________________________________ > > > Davinci-linux-open-source mailing list > > > [email protected] > > > > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > > > > > ___________________________________________________ > 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! > http://messenger.yahoo.com.tw/ > >
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
