Hi!
On Mon, Nov 26, 2018 at 02:54:46PM +0800, 王翔 wrote:
I try to running coreboot on HiFive Unleashed, but nothing come from uart.
I tested by the following steps:
- Write hifive-unleashed-a00-1.0-2018-03-20.gpt to TF card.
- Change MSEL to 11 and boot linux
- Copy coreboot.rom via scp
- Write coreboot.rom to /dev/mtd0 by flashcp.
- Change MSEL to 15 and boot coreboot. No response on uart.
Do you have any suggestions?
How did you listen to the UART? Note that the FTDI Chip on the H5U will show up as two serial ports on the computer that it is connected to (usually /dev/ttyUSB0 and /dev/ttyUSB1). The first one is for JTAG and the second one is for UART. Also make sure that you configure the right baud rate (115200 usually) on /dev/ttyUSB1.
You might also have to power-cycle the board and/or press the reset button. Sometimes that helps.
If you continue to see no output, perhaps there is a bug in coreboot that prevents the output. Whenever I tested coreboot on the H5U, I could always see output, but I haven't tested it recently.
Jonathan Neuschäfer