Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
0 answers
271 views
Enable SPI flash device's power cycle write protection
Assume that an SPI flash chip is represented as `/dev/spidev`. How do I enable that flash chip's power-cycle write protection?
Assume that an SPI flash chip is represented as /dev/spidev. How do I enable that flash chip's power-cycle write protection?
Melab (4328 rep)
Mar 9, 2023, 02:33 AM • Last activity: Mar 9, 2023, 03:29 AM
0 votes
1 answers
290 views
How to find system bios address in linux
I want to do some interaction with bios of a embedded linux on an AMD Ryzen embedded platform. The main tool I think is `flashrom` which can read/write flash chips. It should also be possible to write data to flash rom using something like `dd` if the address of the chip in memory is known? Is this...
I want to do some interaction with bios of a embedded linux on an AMD Ryzen embedded platform. The main tool I think is flashrom which can read/write flash chips. It should also be possible to write data to flash rom using something like dd if the address of the chip in memory is known? Is this the correct way to look for system bios: root@device:~/bios# grep ROM /proc/iomem 000c0000-000cd3ff : Video ROM 000f0000-000fffff : System ROM If I look for the rom using flashrom tool I get the following: root@device:~/bios# flashrom -p internal --flash-name flashrom v1.2 on Linux 5.4.199 (x86_64) flashrom is free software, get the source code at https://flashrom.org Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Found chipset "AMD FP4". Enabling flash write... OK. Found Winbond flash chip "W25Q64.W" (8192 kB, SPI) mapped at physical address 0x00000000ff800000. vendor="Winbond" name="W25Q64.W" So the iomem says the chip is at 000f0000-000fffff and flashrom is saying he chip is at 0x00000000ff800000 Which one is correct, or better yet, why these are not identical?
DEKKER (998 rep)
Mar 1, 2023, 10:27 AM • Last activity: Mar 1, 2023, 12:14 PM
18 votes
10 answers
28615 views
How to flash firmware under Linux in practice?
Well, I am feeling too old for jumping through several burning hoops to upgrade several firmwares via the usual vendor-specific way: Download some DOS tools, waste some time creating a (Free-)DOS boot medium and wasting more time to make the BIOS actually boot from that and finally flash the firmwar...
Well, I am feeling too old for jumping through several burning hoops to upgrade several firmwares via the usual vendor-specific way: Download some DOS tools, waste some time creating a (Free-)DOS boot medium and wasting more time to make the BIOS actually boot from that and finally flash the firmware upgrade. This is so 1980-ies. I come across some linux flash tool from the Coreboot project . It seems to support various FLASH-chips. But how does it work in practice? I guess there are some pitfalls converting vendor supplied firmware upgrades into the right format. Or what about indentifying the right destination chip? Currently I probably have to upgrade for example: * the firmware of some Seagate 1.5 TB disks * the firmware of an old Abit Athlon 64 board (Award bios) * Bios/Embedded-Controller-Bios of a Thinkpad How do you upgrade your devices firmware at a Linux system?
maxschlepzig (59492 rep)
Sep 12, 2010, 12:26 PM • Last activity: Feb 7, 2021, 10:00 PM
2 votes
0 answers
379 views
How to Reflash Toshiba Satellite L855-10P BIOS in a Linux Distro?
Hi I need to Reflash the BIOS of my Toshiba Satellite L855-10P using a Linux distro. How can one do this? I have found lots of info on how to read the BIOS (windows & Linux), dump memory from it (Linux), and installation via windows & / usb / floppy but not reflashing in Linux.
Hi I need to Reflash the BIOS of my Toshiba Satellite L855-10P using a Linux distro. How can one do this? I have found lots of info on how to read the BIOS (windows & Linux), dump memory from it (Linux), and installation via windows & / usb / floppy but not reflashing in Linux.
unseen_rider (161 rep)
Jun 28, 2016, 04:50 PM
Showing page 1 of 4 total questions