c - Developing GUI and loading libraries for bootloader -
1) learned writing bootloaders , tested using bochs. now, want add gui bootloader. have googled didnt hit on relevant sources that. tried searching github existing projects. checked out this question. there way install graphics libraries or include x-window-system apis in code give in gui env (e.g: chameleon, gag) instead of including splash image ?
2) there possibility add python execution environment during bootloader stage, when step in protected mode, add python scripts?
3) how add standard c/c++ library support?
thanks in advance.
it might if told kind of bootloader you're talking about. work daily , of you're saying seems crazy talk. lol.
usually bootloaders small startup program takes decision on load next. bootloaders contains features "flashing" main application. (the main app cannot flash self.) bootloader being first piece of code processor meets, makes critical. not want fail nor upgrade it. hence bootloaders tend strive smaller better.
as questions.
3) i've never seen bootloader not written in c. got 1 covered. (they exist though) c++ have compile whole project c++. (not problem.)
1) , 2) i'm not sure "protected mode" is, include eg python or x-windows have include source project. here's thing. bootloaders baremetal code , code x isn't. you'd have include whole lot of other code well. , you'd end bootloader @ 500 mb. strive 5 kb. splash image done through low level interaction graphic card.
if else interested in bootloader development, can recommend @ uboot. it's linux (mostly) loader , rather easy find way through. , supports lot.
Comments
Post a Comment