Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What should we do if the catalog shows messy codes with [1:36m and [1:32m after AM335

Status
Not open for further replies.

MYIR

Banned
Joined
Jul 21, 2016
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
0
Hi guys, Greeting! We may faced this problem ever, that is, printed information is normal when AM335X get started, however, when it gets into the catalog, like /etc. /sbin list, if we use ls to list the directory file, it shows many messy codes, but the same situation would disappeared if you start on TF card.
 1  0
sysboot[4-0]: 0x14 ... nandboot.
Booting from nand ...
HW ECC BCH8 Selected

NAND read: device 0 offset 0x280000, size 0x500000

...(omitted here)

Starting dropbear sshd: OK
Starting sshd: /var/empty must be owned by root and not group or world-writable.

OK


Welcome to MYD-AM335xMYD-AM335x login: root
root@MYD-AM335x # cd sbin
root@MYD-AM335x sbin# ls -l
total 4400
lrwxrwxrwx 1 1008 1009 17 Sep 1 2014 addgroup -> ../../bin/busybox
lrwxrwxrwx 1 1008 1009 17 Sep 1 2014 adduser -> ../../bin/busybox
-rwxr-xr-x 1 1008 1009 35493 Sep 1 2014 alsaconf
-rwxr-xr-x 1 1008 1009 72192 Sep 1 2014 alsactl
lrwxrwxrwx 1 1008 1009 17 Sep 1 2014 arping -> ../../bin/busybox
-rwxr-xr-x 1 1008 1009 18220 Sep 1 2014 chat

...(omitted here)




Analysis
This is because the file system is not the same one from Nand flash and TF card starting, Nand flash mounts complete ubi.img when it gets started, instead, the TF card mounts tidy version ramdisk.gz when it gets started, it is greatly cutted on function.
one of the function is colour disposition of Linux command, the executable files shows green on terminal, this is not existed on TF card ramdisk.gz.
If we utilize serial ports assistant, such as SSCOM, it wouldn't help to show colour disposition normally, so , some messy codes would be increased when starting on Nand flash.

How to deal with it?
Easily, we could get a conclusion that:we recommend you to utilize secure CRT, super terminal or minicom to operate AM335X terminal instead of serial ports.

Maybe i discussed it simply,if you have any further questiones, click www.myirtech.com to get more details on FAQ!

Thanks for your reading!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top