Comments (4)
U-Boot size is also set here: https://github.com/nerves-project/nerves_system_rpi4/blob/main/rootfs_overlay/etc/fw_env.config#L9
If you're going to increase it, could you pick 128 KB (256 blocks in the fwup config)? The small size we have in Nerves is due to a mistake I made several years ago that we can't fix in a backwards compatible way. When we make major version bumps, I've been switching to 128 KB environment sizes.
from nerves_system_rpi4.
We may need a bit more information. What exactly did you do to observe this? My initial suspicion is that you increased that variable, but tried an upgrade
instead of complete
task.
from nerves_system_rpi4.
Sure, sorry about that.
I am trying to inscrease the uboot size by setting the following in fwup.conf
define(UBOOT_ENV_OFFSET, 16)
define(UBOOT_ENV_COUNT, 32) # 16 KB
Then I run mix firmware
and mix burn -t complete
and in my rpi4 the following occur:
iex(1)> Nerves.Runtime.KV.get_all
%{
"baudrate" => "115200",
"bootcmd" => "bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm",
"bootdelay" => "5"
}
I would expect that all my uboot env vars will be available (such as a.*
vars and so on), but as one can see the envs are missing! An example should be
Nerves.Runtime.KV.get_all()
%{
"a.nerves_fw_application_part0_devpath" => "/dev/mmcblk0p3",
"a.nerves_fw_application_part0_fstype" => "f2fs",
"a.nerves_fw_application_part0_target" => "/root",
"a.nerves_fw_architecture" => "arm",
"a.nerves_fw_author" => "The Octos Team",
"a.nerves_fw_description" => "",
"a.nerves_fw_misc" => "",
"a.nerves_fw_platform" => "rpi4",
"a.nerves_fw_product" => "box_nerves",
"a.nerves_fw_uuid" => "c55c55ce-f333-525a-79f4-705df478b03b",
"a.nerves_fw_vcs_identifier" => "",
"a.nerves_fw_version" => "0.1.0",
"nerves_fw_active" => "a",
"nerves_fw_devpath" => "/dev/mmcblk0",
}
Thanks!
from nerves_system_rpi4.
Thank you a lot. It worked as expected! 👍
from nerves_system_rpi4.
Related Issues (19)
- rpi3 to rpi4 project upgrade failure HOT 4
- Boot hangs. HOT 4
- USB-C Gadget mode HOT 7
- [bug / v1.11.0] Erlang VM not started HOT 1
- Camera Support HOT 6
- v1.12.2 still looks for fixup4.dat HOT 3
- Enable Additional UART of Raspberry Pi 4B HOT 5
- Switch to 64-bit HOT 3
- Can't connect 5GHz WiFi when using 1.13.1 HOT 9
- Archive size quadrupled from 1.15 to 1.16 release HOT 8
- Support VL805 firmware updates HOT 2
- USB Serial Device not being recognised/loaded HOT 1
- Nerves Hub connection fails after upgrading to 1.19.0 HOT 14
- Raspberry Pi Global Shutter Camera HOT 4
- qt5base error while checking hashes HOT 6
- gst1-plugins-base fails to compile due to libs missing HOT 1
- vc4-drm gpu: swiotlb buffer is full
- Audio guide in readme is outdated HOT 3
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 nerves_system_rpi4.