maxnet / berryboot

Berryboot -- Boot menu / OS installer
http://www.berryboot.com/
Other
806 stars 133 forks source link

Compilation for RPi2 from git source on Debian - compilation failed in kernel compilation #158

Open roblad opened 9 years ago

roblad commented 9 years ago

I have got a problem to compile berrybot from source, is that any solution for that

GZIP kernel/config_data.gz CC kernel/res_counter.o CC kernel/stop_machine.o CC kernel/audit.o CC kernel/auditfilter.o CC kernel/kprobes.o CC kernel/hung_task.o CC kernel/seccomp.o CC kernel/relay.o CC kernel/utsname_sysctl.o CC kernel/delayacct.o CC kernel/taskstats.o CC kernel/tsacct.o CC kernel/tracepoint.o CC kernel/elfcore.o CC kernel/irq_work.o CC kernel/jump_label.o CHK kernel/config_data.h UPD kernel/config_data.h CC kernel/configs.o LD kernel/built-in.o make[1]: Leaving directory `/media/proc/berryboot/berryboot/buildroot-2015.02/output/build/linux-rpi-3.18.y' make: *\ [/media/proc/berryboot/berryboot/buildroot-2015.02/output/build/linux-rpi-3.18.y/.stamp_built] Error 2

maxnet commented 9 years ago

Currently need to add an #include manually: https://github.com/sfjro/aufs3-linux/pull/2/files Upstream will fix that in next aufs release. Berryboot is configured to use latest release from aufs3.18.1+ branch, so will use the fixed version when released.

roblad commented 9 years ago

Could you give me full path where is the target for that not build fs/aufs/super.c

maxnet commented 9 years ago

Path to the build directory that has the Linux source is in your error.

make[1]: Leaving directory `/media/proc/berryboot/berryboot/buildroot-2015.02/output/build/linux-rpi-3.18.y'

append fs/aufs/super.c after that.

roblad commented 9 years ago

ok, it has going on after change :-)

PS Is it possible to modify the menu with the systems possible ? I would like to change background color there and text letters color background gray and text yellow. Additional what Qt designer could used for window modifications - for any modern one.

maxnet commented 9 years ago

Just install Qt creator, open BerrybootGUI2.0/BerrybootGUI2.pro, and modify the GUI Windows to your liking. Run ./rebuild-berryboot.sh when done.

Do note that the (font) sizes in Qt creator will appear larger than when deployed on the Pi. Use a larger font size to compensate.

roblad commented 9 years ago

Thanks,

but in which compiled file the interface is build in ?

maxnet commented 9 years ago

compiles to usr/bin/BerrybootGUI (statically linked to Qt, that is why the binary is large)

roblad commented 9 years ago

Hi,

but what boot file - kernel file or any other img file ?

maxnet commented 9 years ago

The GUI and all other system files that are in buildroot/output/target end up in the initramfs file berryboot.img

roblad commented 9 years ago

Ok, thanks, it is needed for update only 1 file when some changes will done.

roblad commented 9 years ago

one more question, I would like to add vnc forever, it means that vnc server will be running and on screen I will have standard operational remote with CEC and HDMI output, is it possible to set it up like that ?

maxnet commented 9 years ago

You'll will need to edit the startup script buildroot/package/berrybootgui2/init and set the QWS_DISPLAY environment variable to the right value somewhere at the top of the script.

The Qt docs seem to suggest export QWS_DISPLAY="VNC:LinuxFb" for dual display driver operation, but have not tested it. http://doc.qt.io/qt-4.8/qt-embedded-displaymanagement.html

roblad commented 9 years ago

Hi, Instead of that or additional ? export QWS_DISPLAY="VNC:size=800x600:depth=32:0"

It means when command.txt will have vncinstall that if grep -q vncinstall /proc/cmdline; then export QWS_DISPLAY="VNC:size=800x600:depth=32:0" echo echo Connect with your VNC client echo If you wish to disable VNC mode: remove 'vncinstall' from cmdline.txt echo fi

will be executed

and the environment variable on top before that condition will give vncdriver open for both displays, but haw to tell init what ip is set ?

standard usage of command.txt has that vncinstall ipv4=192.168.2.16/255.255.255.0/192.168.2.1

It means in my understanding taht parameter ipv4=192.168.2.16/255.255.255.0/192.168.2.1

should be set by default for

export QWS_DISPLAY="VNC:LinuxFb"

Am I right ?

maxnet commented 9 years ago

Instead

The "ipv4=something" static network configuration parameter is processed independently from the "vncinstall" parameter. They are not related. You can have ipv4 without vncinstall. And you can have vncinstall without ipv4 (in which case it will use DHCP).

roblad commented 9 years ago

Ok,

I will try with that variableand see if it work, I let you know.

PS

There is bug probably , because there is not locale set option available in edit menu, disappeared (I remember that it was) or maybe the set in kernel parameter i.e. something=en switching it of. I sow in the qtcreator that such menu exists.

roblad commented 9 years ago

Hi,

the setting for multi display works properly,

roblad commented 9 years ago

Hi,

Is it possible to initiate some sound during berryboot is booting ?