[Buildroot] Boot process stuck at "GRUB loading.." since 2021.02.1

Alexander Dahl post at lespocky.de
Fri Oct 8 16:53:39 UTC 2021


Hello Stefan

On Thu, Oct 07, 2021 at 08:36:07PM +0000, Walter, Stefan wrote:
> the following used to work until Buildroot 2021.02, i.e. the
> resulting image booted normally. Ever since Buildroot 2021.02.1 and
> up until 2021.02.5, the resulting image does not boot any more - the
> boot process either gets stuck right after displaying "GRUB
> loading..", or it reboots at that point, leading to an infinite boot
> loop.

Sounds like should try git bisect between 2021.02 and 2021.02.1 to
identify the commit which broke your setup?

Greets
Alex

> What I'm doing:
> 
> 1. Run Buildroot to create a root partition image (my_defconfig attached).
> 2. Create a GRUB image like this (grub_early.cfg attached):
> 
> /path/to/buildroot-sdk/host/bin/grub-mkimage --config=grub_early.cfg --directory=/path/to/buildroot-sdk/host/lib/grub/i386-pc -o ./genimage_input_tmp/grub_core.img --format=i386-pc --prefix==/boot/grub biosdisk part_msdos ext2 normal linux configfile
> 
> 3. Create a home partition image like this:
> 
> MKE2FS_CONFIG=/path/to/buildroot-sdk/host/etc/mke2fs.conf /path/to/buildroot-sdk/host/sbin/mke2fs -d home_partition_prep/home -j -L home -t ext3 -U random -b 4096 ./genimage_input_tmp/home.ext3 25M
> 
> 4. Create a disk image like this (genimage.cfg attached):
> 
> /path/to/buildroot-sdk/host/bin/genimage --loglevel=1 --config=genimage.cfg --inputpath=./genimage_input_tmp --outputpath=images --rootpath=home_partition_prep --tmppath=./genimage_tmp --tune2fs=/path/to/buildroot-sdk/host/usr/sbin/tune2fs --e2fsck=/path/to/buildroot-sdk/host/usr/sbin/e2fsck
> 
> Does anyone have any idea what's going wrong here since 2021.02.1?
> 
> Best regards,
> Stefan




> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot


-- 
/"\ ASCII RIBBON | »With the first link, the chain is forged. The first
\ / CAMPAIGN     | speech censured, the first thought forbidden, the
 X  AGAINST      | first freedom denied, chains us all irrevocably.«
/ \ HTML MAIL    | (Jean-Luc Picard, quoting Judge Aaron Satie)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20211008/f3a673b0/attachment.asc>


More information about the buildroot mailing list