customized dragonboard image cannot complete booting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Expired
|
Undecided
|
Unassigned |
Bug Description
Install ubuntu-image on Ubuntu 16.04.1:
sudo snap install --devmode --edge ubuntu-image
$ snap list
Name Version Rev Developer Notes
core 16.04.1 641 canonical -
ubuntu-image 0.12+real1 44 canonical devmode
The steps are following:
1,generate model assertion according to the official document https:/
2, build kernel snap according to http://
3, build gadget snap from https:/
4, generate customized image with command:
$ sudo /snap/bin/
5, flash to TF card and boot up dragonboard.
Expected result is the board boot up to console-conf.
Actual result:
...
[ 6.082575] [drm] No driver support for vblank timestamp query.
[ 6.896780] Console: switching to colour frame buffer device 240x67
[ 6.946930] msm 1a00000.
[ 6.974739] [drm] Initialized msm 1.0.0 20130625 on minor 0
[ 6.977017] qcom-apq8016-sbc 7702000.sound: error getting codec dai name
[ 6.979267] qcom-apq8016-sbc 7702000.sound: Error resolving dai links: -517
[ 6.986383] hctosys: unable to open rtc device (rtc0)
[ 7.000552] ALSA device list:
[ 7.000672] No soundcards found.
[ 7.003259] Freeing unused kernel memory: 996K (ffffffc000d35000 - ffffffc000e2e000)
[ 7.005985] Freeing alternatives memory: 56K (ffffffc000e2e000 - ffffffc000e3c000)
[ 7.058990] random: systemd-udevd urandom read with 7 bits of entropy available
[ 130.349369] random: nonblocking pool is initialized
...
The kernel taking 2 min on random nonblocking pool initialization. Then initrd's script/
Tried to stitch image with customized kernel and model assertion but use official gadget from store. The booting has same issue. Then tried to stitch image with customized model assertion but use official kernel and official gadget snap. Then the booting works very well. So the kernel is the root cause.