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.

Beaglebone linux prompt on MicroSD card says "job control turned off"

I prepared a SD card with u-boot as using the AM335X-LINUX-PSP-04.06.00.03 package:

1) I compiled u-boot in the src folder using the cross compiler from the ti-sdk-am335x-evm-05.04.00.00 package on my Ubuntu host

2) copied the resulting MLO  and u-boot.img to a new folder, together with a precompiled kernel uImage from images/kernel/am335x/ in the AM335X-LINUX-PSP-04.06.00.03 package. I also copied the filesystem tar file from filesystem/tisdk-rootfs-am335x-evm.tar.gz in the ti-sdk-am335x-evm-05.04.00.00 package.

3) Ran the mksd-am335x.sh  script to generate my MicroSD card

4) Booted the card

The beaglebone boots, and loads the kernel, (I can see this from the serial port on ttyUSB1), and linux boots up.

However the output end like this

[    1.431959] EXT3-fs (mmcblk0p2): using internal journal
[    1.437484] EXT3-fs (mmcblk0p2): recovery complete
[    1.453117] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    1.460418] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    1.467225] Freeing init memory: 228K
/bin/sh: can't access tty; job control turned off

 I get a prompt but it is very limited,- and there is no /proc file system, and I cant mount it

/ # mount -t proc /proc
mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory

what am I doing wrong? Do I miss some kernel parameter?

 

Thanks!!!

 

 

 

  • Hi,

    may be some permission issues are preventing the filesystem being copied correctly. Are you running the mksd-am335x.sh script as root? Can you also provide the full script execution logs?

    Thansk,

    Sekhar

  • Hi Ulrik,

    Have you done this setpup on host machine?

    http://beagleboard.org/static/beaglebone/a3/README.htm#drivers

    Regards

    AnilKumar

    Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question.  Thanks!

     

  • Hi Ulrik,

    Forgot my previous post, I thought your problem with serial set-up.

    With respect to you problem, Google will give some pointers.

    Regards

    AnilKumar

  • Yes I am, I am running Ubuntu 10.04 LTS in a VirtualBox. I did have some problems getting the script to run and make the partitions from virtualbox (problem is that if you umount the usb device on the host machine, it is not visible any longer, i.e. /dev/sdd1 disappears when its unmounted). So first it runs and makes an errorneous partition table which then prevents the Ubuntu system from mounting it (unplug and then plugin again usb card reader), so that the second time around the script runs and makes a correct partition table. At least thats how I recall it..

  • I tried with the other filesystem file, filesystem/base-rootfs-am335x-evm.tar.gz in stead of tisdk-rootfs-am335x-evm.tar.gz, and reran the scripts.

    Now it works!

    Dont know if it was due to problems with writing the flash in the first time around.

     

    Whats the purpose of each of the two tar files, which one should I use?