Skip to main content

Questions tagged [flash-memory]

0 votes
0 answers
58 views

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 ...
Alphin Thomas's user avatar
0 votes
0 answers
46 views

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 ...
Vitor Woyakewicz's user avatar
0 votes
1 answer
250 views

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 (...
Privet Privet's user avatar
0 votes
0 answers
171 views

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 ...
jyoung's user avatar
  • 117
1 vote
0 answers
196 views

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 ...
mstarks224's user avatar
0 votes
1 answer
2k views

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 ...
Melab's user avatar
  • 4,398
1 vote
2 answers
246 views

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 ...
user3450548's user avatar
  • 3,104
0 votes
1 answer
779 views

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 ...
wangt13's user avatar
  • 651
1 vote
1 answer
584 views

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 (...
wangt13's user avatar
  • 651
0 votes
1 answer
234 views

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 &...
bobuhito's user avatar
  • 133
0 votes
1 answer
53 views

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?
Dims's user avatar
  • 3,465
0 votes
1 answer
672 views

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 ...
wangt13's user avatar
  • 651
0 votes
1 answer
870 views

How to properly erase entire block device /dev/xxxx?

I have a block device that I'm trying to erase using dd. Seems like all my portion has been deleted. However, dd command is returning No space left on device. Block device information is as follows, ...
randomUser's user avatar
2 votes
1 answer
7k views

Slow file transfer to USB stick

I'm copying files to a USB 3.0 stick. The USB stick is plugged to a blue USB port. I'm copying 22 files of 1.5GB. When I do the copy (simple drag and drop), the copy dialog reports a speed of ~60MB/s, ...
jpo38's user avatar
  • 121
1 vote
1 answer
6k views

How to write data to raw NAND FLASH through /dev/mtd0 in Linux?

I am working on an embedded Linux system (5.10.24), where there is a NAND FLASH as storage. The NAND FLASH is partitioned into 4 parts, part 0 is used for u-boot, part 1 is used for kernel, part 2 is ...
wangt13's user avatar
  • 651

15 30 50 per page
1
2 3 4 5
10