# Unmatched boot issues

**URL:** <https://forums.sifive.com/t/unmatched-boot-issues/6236>\
**Category:** HiFive Unmatched\
**Created:** [July 15, 2023, 1:25pm UTC](https://forums.sifive.com/t/unmatched-boot-issues/6236 "2023-07-15T13:25:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuumei](https://avatars.discourse-cdn.com/v4/letter/y/4bbf92/32.png) [@yuumei](https://forums.sifive.com/u/yuumei)\
**Post date:** [July 15, 2023, 1:25pm UTC](https://forums.sifive.com/t/unmatched-boot-issues/6236/1 "2023-07-15T13:25:17Z")

</div>

Hi all, I was using my unmatched for a while just using Ubuntu. Then one day I couldn’t boot it any more. I have tried debugging:

- Using both /dev/ttyUSB0 and /dev/ttyUSB1 using baud 115200 - no serial output at all
- Using UART via GPIO on UART0 and UART1 baud 115200 - nothing
- Various MSEL positions. Usually 4b’1011 which I think is the default (Not sure what chip sel should be)
- Various SD cards (A1 not A2) tested with the “standard” GPT partition layout:  
sudo sgdisk -g --clear -a 1   
–new=1:34:2081 --change-name=1:spl --typecode=1:5B193300-FC78-40CD-8002-E86C45580B47   
–new=2:2082:10273 --change-name=2:uboot --typecode=2:2E54B353-1271-4842-806F-E436D6AF6985  
Using uboot spl from [https://raw.githubusercontent.com/haiku/firmware/master/u-boot/riscv64/unmatched/u-boot-spl.bin](https://raw.githubusercontent.com/haiku/firmware/master/u-boot/riscv64/unmatched/u-boot-spl.bin) and uboot from [https://raw.githubusercontent.com/haiku/firmware/master/u-boot/riscv64/unmatched/u-boot.itb](https://raw.githubusercontent.com/haiku/firmware/master/u-boot/riscv64/unmatched/u-boot.itb)

I get no output from any serial device and all I get on the board is the fan spinning and D2 LED is always red (I think it’s uninitialized so could be anything), other two D9/D20 are always green.

 ![IMG_3060](https://us1.discourse-cdn.com/flex020/uploads/sifive/original/2X/9/9f222e394ca230cfa99f28eb1932b5c2bbbad923.jpeg)

Is there anything else I can do or am I out of luck?

Thanks for any help!

---

<div class="post-metadata">

**Author:** ![yuumei](https://avatars.discourse-cdn.com/v4/letter/y/4bbf92/32.png) [@yuumei](https://forums.sifive.com/u/yuumei)\
**Post date:** [July 24, 2023, 7:47am UTC](https://forums.sifive.com/t/unmatched-boot-issues/6236/2 "2023-07-24T07:47:13Z")

</div>

Well, looks like it’s dead then. Anyone want parts? I’ll leave it a few days then throw it away

---

<div class="post-metadata">

**Author:** ![eden](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@eden](https://forums.sifive.com/u/eden)\
**Post date:** [July 24, 2023, 8:16am UTC](https://forums.sifive.com/t/unmatched-boot-issues/6236/3 "2023-07-24T08:16:28Z")

</div>

e…Is it free?

---

<div class="post-metadata">

**Author:** ![Shree\_SiFive](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Shree\_SiFive](https://forums.sifive.com/u/Shree_SiFive)\
**Post date:** [August 1, 2023, 7:30pm UTC](https://forums.sifive.com/t/unmatched-boot-issues/6236/4 "2023-08-01T19:30:50Z")

</div>

Hi Yuumei,

1. Confirm the power supply: Ensure that the board is receiving stable power with the correct voltage and current capacity. A fluctuating or insufficient power supply might cause booting issues.
2. Verify UART connections: Double-check the connections for UART (Universal Asynchronous Receiver-Transmitter) via GPIO on UART0 or UART1. Ensure that the connections are correct, and there are no loose wires.
3. Check UART settings: Make sure that the UART settings such as baud rate (115200), data bits, stop bits, and parity are set correctly to match the configuration of your board.
4. Verify the MSEL positions: Confirm that the MSEL (mode select) pins on your board are set to the correct configuration for booting from the desired source (e.g., SD card, JTAG, etc.). You will need to modify MSEL to allow using U-Boot SPL, OpenSBI, U-Boot proper bootloaders from uSD card instead of SPI-NOR Flash chip.
5. Test with different SD cards: Try using different SD cards with the “standard” GPT partition layout, and verify that they are properly formatted and contain the required boot files.

Regards,  
Shree

---

<div class="post-metadata">

**Author:** ![yuumei](https://avatars.discourse-cdn.com/v4/letter/y/4bbf92/32.png) [@yuumei](https://forums.sifive.com/u/yuumei)\
**Post date:** [August 4, 2023, 4:11pm UTC](https://forums.sifive.com/t/unmatched-boot-issues/6236/5 "2023-08-04T16:11:39Z")

</div>

Hi Shree,  
Thank-you for the response. If you read my message you will see I have done every step you have described already, apart from checking the voltage levels.I have verified 3.3, 2.5 and 1.05V rails are working as expected

 ![IMG_3113](https://us1.discourse-cdn.com/flex020/uploads/sifive/original/2X/6/6fe20a1fcecc5313dad121519d090e3b7df345f6.jpeg)  
 ![IMG_3114](https://us1.discourse-cdn.com/flex020/uploads/sifive/original/2X/f/f1d61b9a38c28a66ff25cf72d44cd688fa1f4883.jpeg)  
 ![IMG_3115](https://us1.discourse-cdn.com/flex020/uploads/sifive/original/2X/e/e276ad6ce24eb05634ce8ff29f8ae10aa3a34557.jpeg)

Could you explain what the various states of the boot LEDs mean?  
Thank-you

---

<div class="post-metadata">

**Author:** ![Shree\_SiFive](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Shree\_SiFive](https://forums.sifive.com/u/Shree_SiFive)\
**Post date:** [August 9, 2023, 4:17pm UTC](https://forums.sifive.com/t/unmatched-boot-issues/6236/6 "2023-08-09T16:17:10Z")

</div>

Yuumei,  
There are two user programmable LEDs present on the board, which provide bootflow and status information by signaling the boot stage with a Red-Green-Blue (RGB) LED and by blinking a  
green heartbeat function LED.

Table: Board D2 reference designator RGB LED function

1. Undetermined: Default state
2. Yellow: U-Boot SPL (very short run time).
3. Purple: U-Boot proper was entered.
4. Blue: extlinux is about to start sysboot.
5. White: systemd-udevd will set it during kernel boot (past init process start).
6. Green: Will be set 3 minutes after system is booted into basic.target and console is available.

Table: Board D12 reference designator Green LED function

1. Blinking: The kernel booted and running. This is driven by the Linux kernel’s “heartbeat” function, and only starts blinking after the kernel starts
2. NotBlinking: The kernel is hanged/crashed.
3. Blinking fast: The workload on the system is very high.

Since the dual-color LED on your board shows red it probably means that it is not initialized.  
Red is not one of the documented states in SW reference manual’s table-2. Sometimes I have seen the LED turn RED or not even turn ON when SD-Card is not inserted.

Here are some HW debug options:

1. If you have a JTAG dongle then it can be checked whether it is possible to connect to the SOC and check its program counter.
2. If you have access to an oscilloscope you can check the SD-Card’s CS0 signal on R21’s pin 4 whether it asserts when the board comes out of RESET. If it does not then the SOC might be toast but if it does then it would be worthwhile checking if the SOC tries to upload the code.
3. If you have a SPI decoder then it can be attached to R172/R182/R34/R210 but that would require soldering and might not be a feasible option.

Regards,  
Shree
