Questions tagged [flash-memory]
The flash-memory tag has no summary.
147 questions
0votes
0answers
27views
U-Boot Not Booting from Flash Memory on Arty A7 100T FPGA
I'm working on booting U-Boot from the SPI flash memory of an Arty A7 100T FPGA and encountering an issue where U-Boot does not execute after power-on Issue U-Boot does not produce any output on the ...
0votes
0answers
19views
Kernel Panic when trying to write in Flash after kernel update
I recently updated my Linux Kernel from 5.4.104 to 5.15 and after that i cant write anymore on my QSPI NOR FLASH. I did a little research and it seems that the cadence qspi controller started using ...
0votes
1answer
145views
How do I read UEFI firmware data from a chip? [closed]
I need to implement a program running outside the operating system on the same level as the BIOS, which will read all the UEFI firmware data from the BIOS chip, which memory addresses need to be read (...
0votes
0answers
36views
Why UBI in u-boot read 12 bytes from FLASH?
I am working on an embedded Linux system (5.10.24), where the u-boot-2013-10 is used as the bootloader. The Uboot and kernel are both enabled MTD/UBI/UBIFS on the NAND FLASH. Now I hit an issue in u-...
1vote
0answers
140views
file system on an emmc damaged by a power surge?
I'm running a Quartz64 (Model A) booting off an eMMC drive, and it recently suffered a file system corruption after a power outage due to a lightening strike. After this, it wouldn't boot up. I had ...
0votes
0answers
45views
Puzzlement on PEBs reservation in Linux UBIFS
I am working on an embedded Linux system (kernel-5.10.24), and the system is using 128MB NAND FLASH as storage. I enabled the MTD and UBIFS in the kernel, and divided the NAND FLASH into 3 MTD devices,...
0votes
0answers
42views
Understanding the flash translation layer - SSD emulation
Can anyone suggest me a blog/article on how to get an NVMe simulation environment up and running? I'm basically looking at using NVMe as an emulated device in Qemu and tracing the read, write and stat ...
1vote
0answers
162views
Adding a JFFS2 file system to QEMU
I am trying to set up a development environment using QEMU to emulate a Zynq UltraScale+ MPSoC ZCU102. I have a Petalinux image that I am able to run with QEMU and now I want to pass in and mount file ...
0votes
1answer
2kviews
Create UEFI/BIOS chip dump from within Linux
Some people recommend using flashrom to create backup dump of a PC's UEFI/BIOS SPI flash contents. However, flashrom does not work with all platforms. Sometimes people recommend finding the address ...
1vote
2answers
195views
fdisk -l on an usb drive gives a very weird response
Today I nuked an old usb3 flash 8GB drive on a linux machine with: dd if=/dev/random of=/dev/sdb then I put it into a windows pc, it asked me to format it, I did an extended format with default ...
0votes
1answer
659views
How to read NAND OOB (including ECC) data in Linux?
I am working on an embedded Linux system (5.10.24), where there is a NAND FLASH as storage. The NAND FLASH supports internal ECC and has 128Bytes OOB. Its DS says if the ECC is enabled the last ...
1vote
1answer
442views
How to generate a raw UBI image with 2 UBI volumes?
I am working on an embedded Linux (kernel-5.24), where UBIFS is used as filesystem for both rootfs and user configuration data. Now I am trying to generate one single UBI image to burn the NAND FLASH (...
0votes
1answer
202views
Is DD-WRT wasting NVRAM space?
Please explain how I am misunderstanding these two commands: root@DD-WRT:/tmp/var/log# cat /proc/mtd dev: size erasesize name mtd0: 00080000 00020000 "boot" mtd1: 00180000 00020000 &...
0votes
1answer
38views
Is it possible to break flash card programmatically?
I think I broke my flash card programmatically while was playing with automount configuration. Now I can't mount my card anuwhere. Was this possible? And if it was, then how to ensure and fix?
0votes
1answer
600views
How is MTD partition layout detected/parsed in Linux?
I am working on an embedded Linux system, which uses kernel-5.10.24. There is a NAND FLASH used as storage in system, and it has 4 partitons. When the kernel boots up, there shows 4 partitions as ...