This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x File system question

Other Parts Discussed in Thread: AM3359

Hi Sir :

I works on AM3359 EVM platform and use SDK 6.00.00.00.

The file system I use is arago-base-tisdk-image-am335x-evm.tar.gz.

And my boot log is as below.

[ 1.373748] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 1.373901] Copied the M3 firmware to UMEM
[ 1.374206] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from EFUSE
[ 1.374237] smartreflex: probe of smartreflex failed with error -22
[ 1.374420] Cortex M3 Firmware Version = 0x181
[ 1.374786] sr_init: platform driver register failed
[ 1.380676] clock: disabling unused clocks to save power
[ 1.401367] Detected MACID=d4:94:a1:8f:73:68
[ 1.403045] cpsw: Detected MACID = d4:94:a1:8f:73:69
[ 1.405456] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 1.479644] kjournald starting. Commit interval 5 seconds
[ 1.488769] EXT3-fs (mmcblk0p2): using internal journal
[ 1.488800] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 1.488861] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 1.489257] Freeing init memory: 236K

INIT: version 2.88 booting
Error opening /dev/fb0: No such device
Starting udev
Ending udev
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
Configuring network interfaces... udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
Sending select for 172.16.196.131...
Lease of 172.16.196.131 obtained, lease time 345600
/etc/udhcpc.d/50default: Adding DNS 172.16.176.200
/etc/udhcpc.d/50default: Adding DNS 172.16.0.1
/etc/udhcpc.d/50default: Adding DNS 172.16.0.2
done.
Tue Jun 25 23:08:00 UTC 2013
[ 10.753417] net eth0: CPSW phy found : id is : 0x7c0f1
[ 16.744659] PHY: 0:00 - Link is Up - 100/Full
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
Stopping Bootlog daemon: bootlogd.

My questions are as below.

1.How to let time code disappear?

2.I found out that if I remove udev script, the system will hang up, why ?

3.Since I do not use fb, how could I eliminate error message "Error opening /dev/fb0: No such device" ?

4.How could I eliminate error message "Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory bootlogd." ?

5. The Ethernet configuration is too slow, it takes a lot time, is there any way to speed up  Ethernet init?

PS: I only want to enable eth0.

Please help me!

Best regard,

Marcus

  • Hi Marcus,

    1. Disable CONFIG_PRINTK_TIME from the kernel configuration.

    2. Which udev script? Please read the following in order to understand what udev is used for: https://wiki.debian.org/udev

    3. This message is most probably caused by some init script trying to access fb0 while it it missing. Check what might be trying to access /dev/fb0 inside /etc/init.d/.

    4. After a Google search I found a suggestion to set CONFIG_LEGACY_PTYS=y inside the kernel configuration.

    5. You may change the Ethernet init priority inside /etc/rcS.d/

    Best regards,
    Miroslav

  • Hi Miroslav :

    I appreciate your reply!

    I still do not find the script that access /dev/fb0 inside /etc/init.d.

    I will keep searching.

    You say that You may change the Ethernet init priority inside /etc/rcS.d/, do you mean modify S40networking to S30networkiung for example?

    I have tried this method, but it can not shorten network init time.

    Do you have other suggestions?

     

    Best regards,

    Marcus

     

     

  • lu yuenjune said:

    You say that You may change the Ethernet init priority inside /etc/rcS.d/, do you mean modify S40networking to S30networkiung for example?

    I have tried this method, but it can not shorten network init time.

    Yes, this is what I meant, but it seems like I didn't understand your question the first time. I thought you wanted to init the Ethernet earlier. I don't know how you can speed the initialization process.

    Best regards,
    Miroslav

  • Hi Marcus,

    You must have resolved this problem now. But to answer on your 3rd question;

    3.Since I do not use fb, how could I eliminate error message "Error opening /dev/fb0: No such device" ?

    Goto Kernel Configuration -> Device Drivers -> Graphics support and exclude support for frame buffer devices.

    Thanks.

    Ignore if already solved.

    Regards,

    Waman Prabhu

  • Hi Waman :

    I appreciate your reply!

    I try your suggestion to disable Graphic support in kernel and rebuild the kernel.

    However, when the system boot up, the error message still exist.

    I think it should be that a script in file system that try to call /dev/fb0, and I do not know which script uses fb0.

    If you have another suggestion, please let me know.

    Best regards,

    Marcus

  • Ensure "splash" is removed from IMAGE_FEATURES. 

  • Check and see if you still have /etc/init.d/psplash being loaded at boot
    grep "fb0" -inr /etc/init.d/