[BUG] Raxda Rock Pi 4A serial console output stops prematurely

FUKAUMI Naoki naoki at radxa.com
Sun Nov 30 08:53:55 CET 2025


Hi Anand,

On 11/30/25 16:27, Anand Moon wrote:
> Hi FUKAUMI
> 
> On Sat, 29 Nov 2025 at 15:22, FUKAUMI Naoki <naoki at radxa.com> wrote:
>>
>> Hi Anand,
>>
>> On 11/29/25 16:25, Anand Moon wrote:
>>> Hi FUKAUMI,
>>>
>>> On Sat, 29 Nov 2025 at 10:09, FUKAUMI Naoki <naoki at radxa.com> wrote:
>>>>
>>>> Hi Anand,
>>>>
>>>> On 11/28/25 14:50, Anand Moon wrote:
>>>>> Hi Heinrich,
>>>>>
>>>>>>> Thanks. I am having the same issue with my Radxa Rock Pi 4 B Plus.
>>>>>>>
>>>>>>> But I am booting from SPI flash, so I cannot stop this board in the
>>>>>>> U-Boot prompt.
>>>>>>>
>>>>>>> Is there any other way to flash the SPI flash u-boot-rockchip-spi.bin image
>>>>>>> in the user space to spi flash? using dd coammnd
>>>>>>>
>>>>>>>     From the schematics, it has W25Q64FWZPIG
>>>>>>>
>>>>>>> [1] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/rockpi4_v13_sch_20181112.pdf
>>>>>>>
>>>>>>> I have tried to enable SPI flash, but it is not getting detected on
>>>>>>> the board in userspace.
>>>>>>
>>>>>>
>>>>>> https://wiki2.radxa.com/Rockpi4/dev/usb-install
>>>>>> has some guidance how to avoid booting from SPI NOR flash.
>>>>>>
>>>>> Thanks for your tip.
>>>>>
>>>>> I've attempted this method, but it hasn't worked for me.
>>>>> Could you provide the SPI details for this board so I can map it in driver code
>>>>> and from userspace and then attempt to erase or reflash the image?
>>>>>
>>>>> on my board
>>>>> [    1.282609] mmcblk0boot0: mmc0:0001 SLD64G 4.00 MiB
>>>>> [    1.285862] spi-nor spi1.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
>>>>
>>>> Are you using dts with "audio-supply = <&vcc_3v0>;"? It should fix SPI too.
>>>>
>>> Thanks for your tip.
>>>
>>> I have applied the patch from FUKAUMI, and now my console output has
>>> started working

How did you use patched dts? And what does "my console output has 
started working" mean?

>>>> 1. Make u-boot-rockchip.bin with "audio-supply = <&vcc_3v0>;"
>>>> 2. Write it to microSD card
>>>> 3. Insert it
>>>> 4. Kill SPI flash
>>>> 5. Boot U-Boot from SD card
>>>> 6. Revert 4.
>>>> 7. Try "sf probe" "sf erase"
>>>>
>>> Yes, I have tried these steps (4 Kill SPI flash) ->
>>> I have shortened the SPI1_CLK and GNG in the GPIO header
>>> But this board first boots from SPI flash, I don't know the reason.
>>>
>>> I noticed your patch references the W25Q128.
>>> Did you get this device detection in userspace?
>>>
>>> This output is from your patch.
>>> => led blue:status off
>>> => sf probe
>>> SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
>>> => led blue:status on
>>> => sf probe
>>> jedec_spi_nor flash at 0: unrecognized JEDEC id bytes: ff, ff, ff
>>> Failed to initialize SPI flash at 1:0 (error -2)
>>>
>>> Could this explain why I’m unable to detect the device from userspace?
>>
>> What happens if you lower the SPI clock?
>> e.g.
>>    spi-max-frequency = <10000000>;
>>
> Thanks for your input, but I have a bad old U-Boot in my SPI chip,
> which blocks the UART. I need to erase the SPI chip externally
> or erase the chip from user space.

If you can use patched dts on Linux, please try lower frequency and see 
spi-nor found or not on Linux. W25Q64FW max frequency is 104MHz, not 108MHz.

Are you sure your board has W25Q64FW? What is the board ver. do you have?
I'm not asking about schematic, but actual chip soldered on *your board*.

Please check Component Placement Map for location:
  https://radxa.com/products/rock4/4bp#downloads

Best regards,

--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.

>> Best regards,
>>
>> --
>> FUKAUMI Naoki
>> Radxa Computer (Shenzhen) Co., Ltd.
>>
> Thanks
> -Anand
> 



More information about the U-Boot mailing list