-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
secondary config.txt file #414
Comments
You should be able to add |
What comes to |
Just FYI, it is possible to append things to the command line using DT overlays. This would be inelegant and a bit opaque, but it would allow you to use the dtoverlay command within the board-specific sections in the way that you want. I agree that a way to append to the command line from config.txt would be nice. Unfortunately, the ability to specify the whole line in-band would fall foul of the 79/80 character limit in the file parser, and I think fixing that properly could be quite a significant task. |
Seems |
Yes, that's right. The config file parsing is done in two passes, the second being for the DT support. The cleanest solution would be to hide the |
After thinking about this a bit it turned out to be quite simple, so I've prepared a patch. It will probably be in the next release. |
See: #481 kernel: bcm2835-gpiomem: Fix for ARCH_BCM2835 builds See: raspberrypi/linux#1154 kernel: BCM270X_DT: Add at86rf233 overlay See: raspberrypi/linux#1151 kernel: BCM270X_DT: Make mmc overlay compatible with current firmware firmware: arm_loader: Support DT commands in included files See: #414 firmware: di_adv: Need up align up height to at least 4 See: https://discourse.osmc.tv/t/problems-with-divx5-videos-after-september-update/8499/7 firmware: Allow loading of tuning data from a memory block
See: raspberrypi/firmware#481 kernel: bcm2835-gpiomem: Fix for ARCH_BCM2835 builds See: raspberrypi/linux#1154 kernel: BCM270X_DT: Add at86rf233 overlay See: raspberrypi/linux#1151 kernel: BCM270X_DT: Make mmc overlay compatible with current firmware firmware: arm_loader: Support DT commands in included files See: raspberrypi/firmware#414 firmware: di_adv: Need up align up height to at least 4 See: https://discourse.osmc.tv/t/problems-with-divx5-videos-after-september-update/8499/7 firmware: Allow loading of tuning data from a memory block
@pelwell's change is in latest rpi-update firmware. |
I tried todays master firmware, but I could not get things to work with it as expected.. |
If you can upload your config files somewhere - a gist, perhaps - then we might be able to make some progress. |
Maybe I misinterpreted the issue. Seems it probably works, but the SPI kernel module was just not auto loaded for some reason. This is probably due to my boot up sequence. I'll report back later if it was firmware issue. |
Provided you have set dtparam=spi=on, and the spi module is not blacklisted, then it should load automatically. |
@fabled has this issue been resolved? |
The feature works, but I'm still waiting it to be documented. |
Also the "append" for kernel command line is not there, but might be worth a separate issue. |
@fabled how about applying for a PR so the documentation gets updated? ;-) |
See: raspberrypi#481 kernel: bcm2835-gpiomem: Fix for ARCH_BCM2835 builds See: raspberrypi/linux#1154 kernel: BCM270X_DT: Add at86rf233 overlay See: raspberrypi/linux#1151 kernel: BCM270X_DT: Make mmc overlay compatible with current firmware firmware: arm_loader: Support DT commands in included files See: raspberrypi#414 firmware: di_adv: Need up align up height to at least 4 See: https://discourse.osmc.tv/t/problems-with-divx5-videos-after-september-update/8499/7 firmware: Allow loading of tuning data from a memory block
Yes. The only thing missing is documentation for |
PR here raspberrypi/documentation#784 |
PR raspberrypi/documentation#784 has been merged, so I think this issue can be closed now, right? |
Yeah. |
Would be nice if the boot loader would have a way to load a secondary configuration file. This would distribution to ship config.txt (or distrocfg.txt) and setup parameters for where to load kernels and initramfs, that could be simply overwritten on upgrade. And then have another file for possible hdmi, license, etc. options that are installation specific.
It'd be also nice if the kernel cmdline could be appended somehow by the user's config. It might be they want some specific command line option. So some lilo/grub style "append" option for cmdline in config.txt would be appreciated.
The text was updated successfully, but these errors were encountered: