I’m trying to integrate my board, an Atom z8350 with 2GB ram and 32GB eMMC. Almost the same as a wyse3040 but cheaper.
I followed the NUC integration example and adapted a config accordingly to the eMMC.
Everything is okay until I reboot for the first time after “flashing” my new .img file.
Board is rebooting, grub screen shows up with the two “LOCK” text and then freezes about 10-15 seconds later, there is a carriage return happening on screen then keyboard is going down and only way to power cycle is removing the power supply cable or long press on the power button. Booting directly the UEFI entry in the bios does the same thing.
EFI boot entry is named “Android-IA” (??!!!) that’s weird too.
I tried:
booting without USB devices at all
disabling quiet boot in the BIOS
keeping boot gap or not
I managed to do this once on a wyse 5070 thinclient (Intel silver) with no special issue, this z8350 has stumped me.
I’ve waited around 20mn (real) in front of that screen and suddenly it began to boot.
But the boot process speed was so slow, like if I was running a 5.x kernel on my venerable TRS80 with 16k ram.
After this lengthy boot process, it dropped me on the initramfs rescue shell telling me it cannot find mmcblk0.
When I’m listing /dev content it’s there, if I try to mount it manually it’s telling me “No such file or directory”.
The golden device, prior to flashing the mender-ified image wasn’t presenting these symptoms.
After scraping search engines and forums a lot I found the root cause for the 20-25mn waiting till the kernel starts loading.
I removed the whole console_bootargs content in /boot/EFI/efi/BOOT/grub.cfg as I don’t need any serial console on it anyway.
Boot time did go from 20-25mn to 20-25sec …
So my question is now how can I apply this in a debian integration so I wouldn’t have to edit directly on each device ?
By the way none of my kernel boot param were imported during conversion where can I add these too ? (sorry if it’s in the doc, I didn’t figured where).
You’ll probably need to create a custom hook in your mender-convert config to modify this file. You can see in mender-convert-modify where changes are being made by adding a file called 11_bootargs_grub.cfg. I suspect something similar will work in your case. Please let us know if you are successful with this.
I still got a few issue like mmcblk changing name randomly at each boot and I have to do my homework on partuuid usage (will make another post) but I’ll post this device integration when I’ll be ok with it.