1*4882a593Smuzhiyunset default="0" 2*4882a593Smuzhiyunset timeout="0" 3*4882a593Smuzhiyun 4*4882a593Smuzhiyunmenuentry "Buildroot" { 5*4882a593Smuzhiyun # Grub2 supports ext4, load the kernel from the Linux rootfs partition 6*4882a593Smuzhiyun # Set root tells grub to search the 2nd partition for the bzImage 7*4882a593Smuzhiyun set root=(hd0,msdos2) 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun # Set Linux to boot from the 2nd partition, SD/MMC support is baked into the kernel 10*4882a593Smuzhiyun linux /boot/bzImage root=/dev/mmcblk0p2 rootwait console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw 11*4882a593Smuzhiyun} 12