help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No login prompt for the serial com port


From: Jordan Uggla
Subject: Re: No login prompt for the serial com port
Date: Thu, 13 Jul 2017 12:00:35 -0700

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)
<address@hidden> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-grub



reply via email to

[Prev in Thread] Current Thread [Next in Thread]