MYIR
Banned
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 [1;36maddgroup[0m -> [1;32m../../bin/busybox[0m
lrwxrwxrwx 1 1008 1009 17 Sep 1 2014 [1;36madduser[0m -> [1;32m../../bin/busybox[0m
-rwxr-xr-x 1 1008 1009 35493 Sep 1 2014 [1;32malsaconf[0m
-rwxr-xr-x 1 1008 1009 72192 Sep 1 2014 [1;32malsactl[0m
lrwxrwxrwx 1 1008 1009 17 Sep 1 2014 [1;36marping[0m -> [1;32m../../bin/busybox[0m
-rwxr-xr-x 1 1008 1009 18220 Sep 1 2014 [1;32mchat[0m
...(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!
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 [1;36maddgroup[0m -> [1;32m../../bin/busybox[0m
lrwxrwxrwx 1 1008 1009 17 Sep 1 2014 [1;36madduser[0m -> [1;32m../../bin/busybox[0m
-rwxr-xr-x 1 1008 1009 35493 Sep 1 2014 [1;32malsaconf[0m
-rwxr-xr-x 1 1008 1009 72192 Sep 1 2014 [1;32malsactl[0m
lrwxrwxrwx 1 1008 1009 17 Sep 1 2014 [1;36marping[0m -> [1;32m../../bin/busybox[0m
-rwxr-xr-x 1 1008 1009 18220 Sep 1 2014 [1;32mchat[0m
...(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!