orangepi-xunlong / openwrt

For Orange Pi R1 Plus/R1 Plus LTS
Other
110 stars 85 forks source link

SPI boot #14

Closed DRTEK closed 2 years ago

DRTEK commented 2 years ago

Hello , I am trying to boot firmware from spi flash before starting flash the chip, i get this warning in dmesg

[ 0.152963] spi-nor spi0.0: unrecognized JEDEC id bytes: 5e 40 18 5e 40 18 [ 0.153642] spi-nor: probe of spi0.0 failed with error -2

can you give me pointers ? thanks

baiywt commented 2 years ago

[ 0.152963] spi-nor spi0.0: unrecognized JEDEC id bytes: 5e 40 18 5e 40 18 [ 0.153642] spi-nor: probe of spi0.0 failed with error -2

This issue has been resolved, you can download the latest source code for testing. https://github.com/orangepi-xunlong/openwrt/commit/a56ce0f7e8cf7186b76e33c54dd7b2e090714c15

DRTEK commented 2 years ago

Hello, it identifies the spi chip would it be possible to make a factory image to write to spi with uboot kernel and rootfs altogether. can you help on this feature as well thank you so much for your help

baiywt commented 2 years ago

Sorry, this feature is not currently supported

baiywt commented 2 years ago

@DRTEK Hello, Spi Flash startup is now supported. https://github.com/orangepi-xunlong/openwrt/commit/a1274d84e5b6bf1f7c5e3ea4f138b44256650292 https://github.com/baiywt/openwrt-spi-boot-for-r1p-r1pl

DRTEK commented 2 years ago

thank you so much for doing this cheers