My first guess would be that you are passing different kernel parameters when booting via u-boot than when booting via grub. Please post the output of "cat /proc/cmdline" after a successful boot with u-boot.
-- Jordan Uggla (Jordan_U on irc.freenode.net) On Tue, Jun 27, 2017 at 10:41 PM, Hilbert Tu(杜睿哲_Pegatron) <[email protected]> wrote: > Hi there, > > I use grub as coreboot’s payload and successfully get the “grub>” prompt. > Then I use following commands try to bring-up my linux kernel: > > set isofile="/core-image-minimal-mohonpeak64.iso" > loopback loop (usb0,1)$isofile > linux (loop)/vmlinuz root=/dev/ram0 iso-scan/filename=${isofile} console=tty1 > console=ttyS1,115200n8 ramdisk_size=102400 > initrd (loop)/initrd > boot > > The .iso image, bzImage and roofs were generated from same base using Yocto > code building environment. The bzImage and rootfs were ok when bring up by > uboot. Also the .iso image’s boot process (by Grub) was successful until the > last step and before displaying login prompt, only one blinking cursor left. > I expect it was redirected to other serial port but I don’t know how to > connect to it. Following is my grub.cfg: > > serial --unit=1 --speed=115200 --word=8 --parity=no --stop=1 > terminal_input --append serial > terminal_output --append serial > > # > # Sample GRUB configuration file > # > > echo 'Hello world!' > # Boot automatically after 30 secs. > set timeout=30 > > Is there someone that can help? Thanks. > > -Hilbert > > This e-mail and its attachment may contain PEGATRON Corp information that is > confidential or privileged, and are solely for the use of the individual to > whom this e-mail is addressed. If you are not the intended recipient or have > received it accidentally, please immediately notify the sender by reply > e-mail and destroy all copies of this email and its attachment. Please be > advised that any unauthorized use, disclosure, distribution or copying of > this email or its attachment is strictly prohibited. > _______________________________________________ > Help-grub mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/help-grub _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
