pcm720 / u-boot-build-scripts Goto Github PK
View Code? Open in Web Editor NEWA script that may come in handy when building U-Boot images for Pinebook Pro
A script that may come in handy when building U-Boot images for Pinebook Pro
I'm using Manjaro, kernel 5.8.6-1-MANJARO-ARM.
Following the below instructions copied from https://github.com/pcm720/u-boot-build-scripts/releases/tag/v2020.07-1:
Writing to SPI Flash (Manjaro):
# flash_erase /dev/mtd0 0 0
# dd if=spiflash.bin of=/dev/mtd0
I get:
$ sudo flash_erase /dev/mtd0 0 0
Erasing 4 Kibyte @ fff000 -- 100 % complete
$ sudo dd if=spiflash.bin of=/dev/mtd0
dd: writing to '/dev/mtd0': Connection timed out
1+0 records in
0+0 records out
0 bytes copied, 0.202538 s, 0.0 kB/s
Not sure why it didn't work for me. Instead, I used (after flash_erase
):
sudo nandwrite -p /dev/mtd0 spiflash.bin
And that seemed to work. Is there a reason to use dd
instead of nandwrite
?
I'm not sure if this related to this mod.
After SPI flashed, I noticed Dmesg show this:
[ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
Pinebook Pro just boots OK, same error after DD idbloader.img and u-boot.itb to eMMC.
Hi,
I have used your v2020.07-1 flashed to SPI with Manjaro kernel 5.7.10 and everything have been working fine. I have upgraded to Manjaro kernel 5.8.1 and now I can not boot from nvme. I get to shell and can see nvme is not discovered with blkid. When I revert back to 5.7.10 it boot fine again.
I tried to boot 5.8.1 from emmc and root on nvme, and that boot fine. Can this be same issue addressed in patch0007-address-NVMe-instability.patch?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.