Help Needed : For setting up plymouth on Beaglebone Black

Asked by 4 months ago
I am trying to setup plymouth on my BBB running debian wheezy. I have installed plymouth and plymouth-drm. I came across a topic where it was mention to run these commands to setup plymouth /usr/sbin/plymouth-set-default-theme --list /usr/sbin/plymouth-set-default-theme spacefun update-initramfs -u cp /boot/initrd.img-3.8.13-bone43 /boot/uboot/ # I thought I have to do this to update initrd.img mv initrd.img initrd.img.bak mv initrd.img-3.8.13-bone43 initrd.img I have added this line in my uEnv.txt file optargs=splash But plymouth is not working. The following is the boot log for my BBB =============================================================================== U-Boot 2014.04-rc2-00015-g99288ca (Mar 12 2014 - 09:49:41) I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: *** Warning - readenv() failed, using default environment Net: <ethaddr> not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: gpio: pin 53 (gpio 53) value is Card did not respond to voltage select! mmc0(part 0) is current device Card did not respond to voltage select! gpio: pin 56 (gpio 56) value is gpio: pin 55 (gpio 55) value is gpio: pin 54 (gpio 54) value is mmc1(part 0) is current device gpio: pin 54 (gpio 54) value is SD/MMC found on device reading uEnv.txt 1432 bytes read in 7 ms (199.2 KiB/s) gpio: pin 55 (gpio 55) value is Loaded environment from uEnv.txt Importing environment from mmc ... Checking if uenvcmd is set ... gpio: pin 56 (gpio 56) value is Running uenvcmd ... reading zImage 3717224 bytes read in 210 ms (16.9 MiB/s) reading initrd.img 7001836 bytes read in 391 ms (17.1 MiB/s) reading /dtbs/am335x-boneblack.dtb 25080 bytes read in 12 ms (2 MiB/s) Kernel image @ 0x82000000 [ 0x000000 - 0x38b868 ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Using Device Tree in place at 88000000, end 880091f7 Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.619950] omap2_mbox_probe: platform not supported [ 0.786977] tps65217-bl tps65217-bl: no platform data provided [ 0.850674] bone-capemgr bone_capemgr.9: slot #0: No cape found [ 0.887781] bone-capemgr bone_capemgr.9: slot #1: No cape found [ 0.924889] bone-capemgr bone_capemgr.9: slot #2: No cape found [ 0.961998] bone-capemgr bone_capemgr.9: slot #3: No cape found [ 0.978150] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P) [ 0.987747] bone-capemgr bone_capemgr.9: slot #6: Failed verification [ 0.994485] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BO) [ 1.011018] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed [ 1.073598] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested b8 [ 1.085275] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22 [ 1.092558] pinctrl-single 44e10800.pinmux: could not request pin 21 on devie Loading, please wait... Scanning for Btrfs filesystems Welcome to Debian GNU/Linux 7 (wheezy)! Starting udev Kernel Device Manager... Started Huge Pages File System [ OK ] Starting Debug File System... Started Set Up Additional Binary Formats [ OK ] Starting POSIX Message Queue File System... Starting Security File System... Starting Load Kernel Modules... Starting Apply Kernel Variables... Starting udev Coldplug all Devices... Starting Lock Directory... Starting File System Check on Root Device... Starting Remount API VFS... Starting User Runtime Directory... Starting Journal Service... Started Journal Service [ OK ] Started Remount API VFS [ OK ] Started Debug File System [ OK ] Started POSIX Message Queue File System [ OK ] Started Security File System [ OK ] Started Apply Kernel Variables [ OK ] Started Lock Directory [ OK ] Started User Runtime Directory [ OK ] Started Load Kernel Modules [ OK ] Starting FUSE Control File System... Started Configuration File System [ OK ] Started FUSE Control File System [ OK ] Started udev Kernel Device Manager [ OK ] Starting LSB: Tune IDE hard disks... Starting LSB: Set preliminary keymap... systemd-fsck[221]: rootfs: clean, 75885/111104 files, 403734/444160 blocks Started udev Coldplug all Devices [ OK ] Started File System Check on Root Device [ OK ] Started LSB: Tune IDE hard disks [ OK ] Started LSB: Set preliminary keymap [ OK ] Starting Remount Root FS... Started Remount Root FS [ OK ] Started Various fixups to make systemd work better on Debian [ OK ] Started Lock Directory [ OK ] Started Runtime Directory [ OK ] Starting /boot/uboot... Started /boot/uboot [ OK ] Starting LSB: Restore resolv.conf if the system crashed.... Starting Load Random Seed... Starting Recreate Volatile Files and Directories... Starting LSB: Restore and store ALSA driver settings... Starting LSB: screen sessions cleaning... Starting LSB: Prepare console... Starting LSB: Inform plymouth that /var/log is writable... Started Load Random Seed [ OK ] Starting LSB: Raise network interfaces.... Started LSB: Restore resolv.conf if the system crashed. [ OK ] Started LSB: Inform plymouth that /var/log is writable [ OK ] Started Recreate Volatile Files and Directories [ OK ] Started LSB: screen sessions cleaning [ OK ] Started LSB: Restore and store ALSA driver settings [ OK ] Started LSB: Prepare console [ OK ] Starting LSB: Set console font and keymap... Started LSB: Raise network interfaces. [ OK ] Started LSB: Set console font and keymap [ OK ] Starting Console System Startup Logging... Started Automatically Enable Systemd Units [ OK ] Starting ifup for eth0... Started ifup for eth0 [ OK ] Starting LSB: Start daemon at boot time... Starting LSB: Start daemon at boot time... Starting LSB: Create dynamic part of /etc/motd... Starting LSB: Start/stop apache2 web server... Starting LSB: Start xrdp and sesman daemons... Starting LSB: Log file handling to be done during bootup.... Starting LSB: Advanced IEEE 802.11 management daemon... Starting LSB: Start busybox udhcpd at boot time... Starting Avahi mDNS/DNS-SD Stack... Starting D-Bus System Message Bus... Started D-Bus System Message Bus [ OK ] Starting LSB: Starts and stops Wicd... Starting LSB: SANE network scanner server... Starting LSB: Run /etc/rc.local if it exist... Starting ACPI event daemon... Started ACPI event daemon [ OK ] Starting LSB: Light Display Manager... Starting LSB: Load kernel modules needed to enable cpufreq scaling... Starting LSB: Regular background program processing daemon... Starting Provide limited super user privileges to specific users... Starting LSB: Stop plymouth during boot and start it on shutdown... Started fast remote file copy program daemon [ OK ] Starting LSB: OpenBSD Secure Shell server... Starting Bonescript autorun... Started Bonescript autorun [ OK ] Starting WPA supplicant... Starting Permit User Sessions... Starting Login Service... Starting Daemon for power management... Starting Console Manager... Starting System Logging Service... Started System Logging Service [ OK ] Started Console System Startup Logging [ OK ] Started LSB: SANE network scanner server [ OK ] Started LSB: Advanced IEEE 802.11 management daemon [ OK ] Started Permit User Sessions [ OK ] Starting Getty on tty1... Started Getty on tty1 [ OK ] Starting Serial Getty on ttyO0... Started LSB: Create dynamic part of /etc/motd [ OK ] Started Provide limited super user privileges to specific users [ OK ] Started LSB: Start busybox udhcpd at boot time [ OK ] Debian GNU/Linux 7 beaglebone ttyO0 ====================================================================================== Please help me figure out what is going on Regards viraniac

Your Answer

Name:
Reply:

All Answers

Answer by 3 months ago
Hi, No reply in days, but I found the solution. Posting it for any one needing this information in the future. Here are the steps needed to be followed for setting up plymouth on beaglebone black running debian or ubuntu: Step 1) Install Plymouth-DRM. # apt-get install plymouth-drm Step 2) Select a theme for boot splash. # plymouth-set-default-theme --list # this lists the available themes for plymouth # plymouth-set-default-theme joy Step 3) Update initramfs # update-initramfs -u Step 4) Copy the newly created initrd.img file to /boot/uboot folder # cp /boot/initrd.img-$(uname -r) /boot/uboot/ Step 5) Update the initrd file name in the /boot/uboot/uEnv.txt #initrd_file=initrd.img initrd_file=initrd.img-3.8.13-bone47 Step 6) enable splash support by adding the following to /boot/uboot/uEnv.txt. # Place this at the bottom of the last line starting with optargs optargs=splash plymouth.ignore-serial-consoles ${optargs} just restart your beaglebone, and it will work. Hope this will be helpful for someone. Regards viraniac