Power & Source of Big Ideas

Boot modes and SPI chip

Moderators: chensy, FATechsupport

How does the R2S boot when you don't use an SD card? Can it boot from USB drive or over the network?
There is an empty header on the board for a SPI SOIC8 chip. What kind of chips are supported?
According to the schematic the intended part is a Macronix MX25L12835F. I've tried with a Winbond W25Q128FV (which should be compatible) without any success. This includes what should be the correct devtree entry.
Ah, I've SPI flash working just fine now. Apparently DMA support (ARM PL330) is essential for correct (well, any) operation of the Rockchip SPI driver. Whoops! I haven't tried booting off of it yet.

For anyone curious, here's what my devtree entry looks like:

Code: Select all

&spi0 {
    spiflash@0 {
        #address-cells = <1>;
        #size-cells = <1>;
        compatible = "winbond,w25q128fv", "jedec,spi-nor";
        reg = <0>;
        spi-max-frequency = <50000000>;
    };
    status = "okay";
};


From there you'll get an mtd0 device which you can use with flashrom (--programmer linux_mtd).
Any progress on flashing custom boot to the SPI which allows network booting?

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 5 guests