Code: Select all
int main() {
try
throw "off table";
} catch (void e) {
printf("Phew...");
}
}That's cmdline.txtSirLagz wrote:AFAIK config.txt is just mostly kernel parameters, which you could pass to the kernel via kexec anyway...
i.e. config.txt would load the kexec based bootloader, then you set more options via the bootloader when it boots the kernel again.
I was playing around with the idea of a kexec based bootloader a while ago when the Pi first came out and that's what I was going to do, just pass stuff to the kernel via kexec
Code: Select all
int main() {
try
throw "off table";
} catch (void e) {
printf("Phew...");
}
}Where would I find these online (am using buildroot)ghans wrote:Try the vc* tools , and perhaps tvservice in /opt/vc
ghans
Code: Select all
int main() {
try
throw "off table";
} catch (void e) {
printf("Phew...");
}
}lol. Derp. Getting my stuff confused.RPiJunior wrote:That's cmdline.txtSirLagz wrote:AFAIK config.txt is just mostly kernel parameters, which you could pass to the kernel via kexec anyway...
i.e. config.txt would load the kexec based bootloader, then you set more options via the bootloader when it boots the kernel again.
I was playing around with the idea of a kexec based bootloader a while ago when the Pi first came out and that's what I was going to do, just pass stuff to the kernel via kexec
Oh, I am looking for the more GPU/CPU related options: memory management, clock speeds. Likely the user will want to have to change monitor settings once (in bootloader).
Code: Select all
int main() {
try
throw "off table";
} catch (void e) {
printf("Phew...");
}
}Code: Select all
int main() {
try
throw "off table";
} catch (void e) {
printf("Phew...");
}
}The cpu_freq thing is good. Thank you very much. But I want to support distros not yet supporting CMA. I have heard of CMA and vc* and I would definitely use it in the distro I will make soon... Thank you very much for your help!ghans wrote:The CPU frequency is managed via Linux .
http://www.mjmwired.net/kernel/Document ... ernors.txt
On the GPU , better ask dom.
The memory can be dynamically managed , there is a config.txt option for it.
AFAIK this feature is based on "CMA".
This article might be useful for you :
http://lwn.net/Articles/396657/
ghans
Code: Select all
int main() {
try
throw "off table";
} catch (void e) {
printf("Phew...");
}
}