View previous topic :: View next topic |
Author |
Message |
Irre Guru
Joined: 09 Nov 2013 Posts: 434 Location: Stockholm
|
Posted: Thu Nov 27, 2014 10:31 pm Post subject: gentoo on Cubieboard2, part2 [Unsuccessful] |
|
|
Building a new kernel
Code: | emerge -v genkernel gentoo-sources
nohup genkernel --install --integrated-initramfs --kernel-config=/proc/config.gz all & |
We will probably need some swap later Code: | dd if=/dev/zero of=/swapfile bs=1M count=512
mkswap /swapfile
echo '/swapfile none swap sw 0 0' >> /etc/fstab
swapon /swapfile
emerge -v ntp gentoolkit htop
rc-config add ntp-client |
OPTIONAL Fetch all sources: Code: | emerge -ve --fetchonly world |
To check genkernel in progress, enter:
or
When all done, after some hours, we must update a config file again: Code: | mount /dev/mmcblk0p1 /mnt
nano -w /mnt/uEnv.cb2 (change two lines:)
#kernel=/boot/uImage-3.4.101
kernel=/sda1/boot/kernel-genkernel-arm-3.14.14-gentoo-sun7i
cp /mnt/uEnv.cb2 /mnt/uEnv.cb2-gentoo (keep a copy)
reboot |
** The new kernel didn't boot. I had to remove SDHC-card and undo last changes to be able to boot again **
I don't understand what's wrong. Perhaps the boot-loader must be reinstalled or reconfigured.
I have no HDMI-monitor, so I can only log in via ssh. this will be hard to solve. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|