Spansion S25HS512T NOR Flash not working on linux or u-boot
Support for S25HL/S25HS series has been added in u-boot 2021.10-rc3.
Ensure:
CONFIG_SPI_FLASH_SFDP_SUPPORT is set and
CONFIG_SPI_FLASH_BAR is not set
Thanks to Mr. Kuwano of Infineon for the support.
PS:
Not tested on Linux. Not working on Barebox yet (getting detected but not writing).
DFU not transferring data in barebox
A regression matching your problem was recently reported as being caused by
697f53a90224 ("usb: gadget: dfu: Wrap fs operation in workqueue")
There has been a first fix here:
https://lore.barebox.org/barebox/20210830144835.27458-1-jmaselbas@kalray.eu
Try and see if that fixes your issue.
It's unfortunate the regression slipped through, but most users seem to either use fastboot
or DFU with the multigadget functionality (usbgadget -D
command instead of dfu
command). I'd suggest you do likewise with a new project. fastboot has special support for UBI (u
) flag, which allows it to call ubiformat
transparently on a volume when updating and it can reeexport barebox_update
handlers, so you could just update with e.g.:
fastboot flash bbu-nand barebox-myboard.img
fastboot flash rootfs-nand my.ubi
The usbgadget
command allows the gadget to work in the 'background'. So you can continue to use the shell and export more than one gadget at the same time: e.g. a USB serial console and DFU at the same time. This should still work despite the aforementioned regression as that one only broke the dfu
command.
Related Topics
Escaping Single Quotes in Shell for Postgresql
Unusual Behaviour of Linux's Sort Command
Why a Linux Redirect Truncates the File
Mongod Does Not Start (Mongod.Service: Failed with Result 'Signal')
How to Read Input from the Terminal Using /Dev/Stdin and Read.Csv()
Bash -Eq and ==, What's the Diff
Elegant Way to Set Base Address of Elf Image with Linux Binutils
Print the Output of Strace Command in a Text File
What Is the Aligment Requirements for Sys_Brk
Recursively Rename Files to Ascii Standard
Delete Folder That Contain Subfolders and Files on Linux
How to Detect a Blank Column in a Page Using Imagemagick to Distinguish Two Column Papers
Shell Script Won't Recognize Heredoc Delimiter
Create a Sudo User in Script with No Prompt for Password, Change to User Without Interrupting Script
How to Install Asp on Linux Ubuntu Hardy
Command Substitution Doesn't Work in Script Text Passed Over Ssh