Skip to main content
JWang.13
Associate
August 6, 2020
Question

Port Linux to STM32F429-DISC, and face an issue on inputting command "ls"

  • August 6, 2020
  • 5 replies
  • 2502 views

Hi, all

These months, I am using AFBoot + Linux + rootfs XIP image to download into 2MB internal flash of STM32F29-DISC. After some test, I can get the printing information of Linux on serial of Mobaxterm(home edition). But, when serial gets "/#", I cannot input "ls" command in Mobaxterm like other engineer(I am sure I have disable the control flow, and have tried some other terminal, and I even download the image of other people who had successfully used that image to list the files of Linux. But on my side, this issue always there). I don't know what happened that case.

The attached file is the printing information from Mobaxterm when I doing test. Please take a look at the last line.

Does any one can give me some advice about why I cannot input the command on Mobaxterm? Thanks

This topic has been closed for replies.

5 replies

TDK
August 6, 2020

The last line is:

/ # [ 240.760000] random: crng init done

What does this have to do with the ls command?

"If you feel a post has answered your question, please click ""Accept as Solution""."
JWang.13
JWang.13Author
Associate
August 6, 2020

Thanks for your reply.

I just want to input command, for example "ls", after Linux outputting "/#". But I cannot input any character on Mobaxterm. Even, 4 mins later, I get the message "random: crng init down", I still cannot input anything.

Some engineers in our country wrote blogs about that they had successfully got the unLinux boot information on their hardware STM32F429-DISC and could input command "ls" after ucLinux outputting "/#" to get the file list of file system.

I followed their steps, or even used their successful BIN file to download into my STM32F429-DISC, but I failed to input any command on Mobaxterm.

Same Hardware, same software, why I get the different result. this is my puzzle.

Please have a look at their successful outputting message.

JWang.13
JWang.13Author
Associate
August 6, 2020
Tesla DeLorean
Guru
August 6, 2020

Honestly who'd waste their time running full Embedded Linux on an STM32F429 ?

There were demos for uCLinux, but that was years ago, and I think EmCraft moved to more viable platforms.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
JWang.13
JWang.13Author
Associate
August 6, 2020

haha... Thanks for your reply.

yes, using Afboot+ucLinux+rootfs is old approach to develop embedded system.

But, sometimes, payed a lot of time and cannot the get the hoped result, may let me disappointing, and I was blocked at the last step, maybe it is a little issue.