Comments (9)
Currently, there is no support for dtb overlays. I will try to add support on next build with U-boot and Kernel update RC6.
from bananapi-zero-ubuntu-base-minimal.
Here is the support for DT Overlays. Assuming you asked for and known how to use DTO.
There is support for DTO on boot time.
Please, make a backup and try this:
https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v1.7
from bananapi-zero-ubuntu-base-minimal.
Updated with a sample, I think this should work.
from bananapi-zero-ubuntu-base-minimal.
Install fix.
https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v1.8
from bananapi-zero-ubuntu-base-minimal.
Sorry it took me so long to get back to this.
So, in order to use an overlay, I am going to have to rebuild the whole Uboot image? This seems like a much more intensive process than just recreating the dtb. Is it possible to use a wildcard in the ext4load line so it looks something like:
ext4load mmc 0 ${fdtovaddr} overlays/*.dto
and then any files added into the overlays folder will be included?
from bananapi-zero-ubuntu-base-minimal.
You need to update u-boot and kernel as described here: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v1.8 (or later)
and https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v1.7
Not sure if * will load all, but you can give it a try.
No need to rebuild anything, it is already built..
from bananapi-zero-ubuntu-base-minimal.
or you can store the files in a variable like this:
FIX
overlay=file1 file2 file3
for ov in ${overlay}; do
echo overlaying ${ov}...
load ${devtype} ${devnum}:${bootpart} ${fdtovaddr} /boot/overlays/${ov}.dto && fdt apply ${fdtovaddr}
done
from bananapi-zero-ubuntu-base-minimal.
I would have to run mkimage every time to change the overlays. This is not really useful for my use case (changing a couple lines in the dt). The overlays work, so I'll go ahead and close the issue.
from bananapi-zero-ubuntu-base-minimal.
I would have to run mkimage every time to change the overlays.
No need to run mkimage at any time. Just change dts and recompile, that's all you need.
from bananapi-zero-ubuntu-base-minimal.
Related Issues (20)
- Ubuntu 19.10 Eoan is EOL. Upgrade to 20.04 LTS ok? HOT 14
- UART baudrate accuracy on ttyS3 HOT 2
- Problem with OV5640 DVP camera HOT 4
- Enable Power-off pin HOT 22
- Netplan issue on Ubuntu 20.04 LTS (focal) HOT 12
- 3.10 how to enable network/ssh/wifi... HOT 2
- Can't install Haproxy with APT HOT 4
- v3.10 broken, wrong kernel, etc... HOT 7
- [SOLVED] cpu no longer @1200 MHz HOT 7
- OV5640 DV camera + mjpeg_streamer not working HOT 1
- Mining with sgminer HOT 2
- Unable to use micro USB Port (Keyboard/Mouse) up with Focal HOT 12
- Can't access /dev/spidev* nodes HOT 1
- Bluetooth connect to GN HOT 5
- Problems connecting to wifi HOT 2
- USBSerial for initial console HOT 3
- AddScreen/ScreenInit failed for driver 0 HOT 2
- boot_size in format_sd_mainline.sh
- Need help to setup ir support
- Need help suspending the board HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bananapi-zero-ubuntu-base-minimal.