[coreboot] riscv: how to running coreboot on HiFive Unleashed?
wxjstz at 126.com
Tue Nov 27 05:20:53 CET 2018
I tried it again. Press reset key can see the serial output. Maybe the power is turned on too fast. The computer does not capture the serial port data.
Below is my serial output
> Welcome to minicom 2.7
> OPTIONS: I18n
> Compiled on Apr 22 2017, 09:14:19.
> Port /dev/ttyUSB1, 12:14:37
> Press CTRL-A Z for help on special keys
> coreboot-4.8-2282-gc88828daeb Mon Nov 26 09:56:26 UTC 2018 bootblock starting...
> Boot mode: 15
> Couldn't load romstage.
Thank you for your help.
在2018年11月27 10时56分, "王翔"<wxjstz at 126.com>写道:
I am sure my uart configuration is 115200 8N1 on /dev/ttyUSB1. I have a power cycle after the burn is complete.
在2018年11月26 18时03分, "Jonathan Neuschäfer"<j.neuschaefer at gmx.net>写道:
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:
> 1. Write hifive-unleashed-a00-1.0-2018-03-20.gpt to TF card.
> 2. Change MSEL to 11 and boot linux
> 3. Copy coreboot.rom via scp
> 4. Write coreboot.rom to /dev/mtd0 by flashcp.
> 5. 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)
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the coreboot