Help needed for boot environment values for Snappy Ubuntu Core

Ram Prasad ramprasadrp2412 at gmail.com
Tue Mar 29 15:54:50 UTC 2016


I continued without using the init variable and changed the root value to “/dev/mmcblk1p2”, where the system-a partition gets loaded. By using these boot commands I’m able to boot and can access the terminal(have to add serial-console executable file and serial_auto_detect.conf file) I have attached my log file with this mail. Is this the correct procedure to boot Snappy in the device? What is the use of using initrd here??

Can I proceed with the current working state?

Cheers,
Ram

From: Ram Prasad
Sent: 28 March 2016 08:42 PM
To: snappy-devel at lists.ubuntu.com
Subject: Help needed for boot environment values for Snappy Ubuntu Core

Hi,
I’m facing some trouble because of the values to be entered for Snappy specific parameters during an arm board booting process, especially with the “init”, “root” and “snappy_cmdline” params. 

These are the boot param values I’m using now:
➢ setenv snappy_cmdline 'init=/lib/systemd/systemd-udevd ro panic=-1 console=ttymxc0,115200 ${display} ${extra_bootargs} consoleblank=0 ignore_loglevel root=/dev/ram0 rw initrd=0x13000000,65M'
➢ setenv snappy_boot 'run loadfiles; setenv root '/dev/disk/by-label/system-${snappy_ab} ${snappy_cmdline}'; setenv bootargs ${snappy_cmdline}; bootm ${loadaddr} - ${fdt_addr}'

When I use “'init=/lib/systemd/systemd-udevd” value, the result is:

RAMDISK: lzma image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 340K (80e6a000 - 80ebf000)
Failed to read /proc/cmdline, ignsystemd-udevd[1]: Failed to read /proc/cmdline, ignoring: No such f
systemd-udevd[1]: starting version 217

systemd-udevd[1]: hwdb.bin does not exist, please run udevadm hwdb --update
systemd-udevd[1]: Failed to read /proc/cmdline, ignoring: No such file or directory
systemd-udevd[1]: Network interface NamePolicy= disabled on kernel commandline, ignoring.
random: systemd-udevd urandom read with 96 bits of entropy available
systemd-udevd[1]: specified group 'tty' unknown
systemd-udevd[1]: specified group 'dialout' unknown
systemd-udevd[1]: specified group 'kmem' unknown
systemd-udevd[1]: specified group 'input' unknown
systemd-udevd[1]: specified group 'video' unknown
systemd-udevd[1]: specified group 'audio' unknown
systemd-udevd[1]: specified group 'lp' unknown
systemd-udevd[1]: specified group 'disk' unknown
systemd-udevd[1]: specified group 'cdrom' unknown
systemd-udevd[1]: specified group 'tape' unknown
random: nonblocking pool is initialized

Without the init value, I end up stranded as shown in the attached log file with this mail. 

Can someone help me?

Thanks,
Ram Prasad R.P.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20160329/00bae91c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Snappy_working.log
Type: application/octet-stream
Size: 48880 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20160329/00bae91c/attachment-0001.obj>


More information about the snappy-devel mailing list