Beagle Bone Black cleanup
Created by: SunilMohanAdapa
The first patch removes adding console settings to /etc/inittab as this is unnecessary with systemd.
Second patch uses flash-kernel for beaglebone. Adding console=ttyO0
is necessary in this case as the boot loader does not automatically this to the kernel arguments.
I have tested the following:
- I have tested a Cubietruck image built with this patch.
- I have tested a Beaglebone image built with this patch.
- The root file system was being found using UUID= argument picked up from /etc/fstab and added as /conf/conf.d/default_root into initramfs. This solved the problem with BBB unpredictable root devices.
- For both images, the console was available on serial debug terminal.
- Patch was slightly different when i built images. I was doing additional ttyS0 argument to setup_flash_kernel() with the patch. After booting, i have removed this from flash-kernel's kernel parameters manually and tested that it works okay.