Plastic Posted January 18, 2021 Posted January 18, 2021 Armbianmonitor: http://ix.io/2MsP Hello, first post here, so sorry if did not provide enough information. I need to change spi buffer length to 8192. So far tried: 1) modprobe spidev bufsiz=8192 creating the file /etc/modprobe.d/spidev.conf and adding to it the line "options spidev bufsiz=8192" When I do "cat /sys/module/spidev/parameters/bufsiz", it gives me "4096". 2) Add to /boot/cmdline.txt: spidev.bufsiz=8192 When I do "cat /sys/module/spidev/parameters/bufsiz", it gives me "4096". 3) cd /sys/module/spidev/parameters chmod 666 bufsiz echo 65536 > bufsiz did nothing. 4) /boot/armbianEnv.txt added options spidev bufsiz=8192 When I do "cat /sys/module/spidev/parameters/bufsiz", it gives me "4096". I don't know anything else what to try. Is it possible. 0 Quote
hardheid Posted February 11, 2021 Posted February 11, 2021 Also facing SPI issues. Trying to flash my laptop using a soic clip connected to spidev1.0 as well as Mizy on spidev0.0. Unlike some others in the forum I was able to activate both successfully. After using flashrom, however, my flashed laptop or orange pi zero won't boot from the SPI chip yet. My armbianEnv.txt: Quote verbosity=1 bootlogo=false console=serial disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=spi-jedec-nor spi-spidev usbhost2 usbhost3 param_spidev_spi_bus=0 param_spidev_spi_cs=0 param_spidev_max_freq=1000000 rootdev=UUID=9f347494-581e-4ce3-8848-05016ce8b9c9 rootfstype=ext4 user_overlays=spi-double-spidev-cs usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u My report from flashrom: Quote $ sudo flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=512 -w /home/hardheid/Lenovo_T460_backup.bin flashrom on Linux 5.10.12-sunxi (armv7l) flashrom is free software, get the source code at https://flashrom.org Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi. Reading old flash chip contents... done. Erasing and writing flash chip... Erase/write done. Verifying flash... VERIFIED. Same with the Mizy images, write but not working in the end. Could this be the result of a bad buffer? Am I doing something wrong? 0 Quote
Kochy Posted November 9, 2022 Posted November 9, 2022 Hi. Have you found a solution for you spidedv buffer size issue? I am facing the same problem with nothing to be found online... Thanks 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.