Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
16 user(s) are online (10 user(s) are browsing Forums)

Members: 2
Guests: 14

Estrayk, Rob, more...

Support us!

Headlines

 
  Register To Post  

X5000 Uboot output to serial
Just popping in
Just popping in


See User information
Hello,

How do I set Uboot's output to the serial on the X5000? Is it setenv stdout serial, then saveenv? Or is there some other way? I don't have NVSetVAr in my C directory.

Thanks in advance!

Kevin

Go to top
Re: X5000 Uboot output to serial
Quite a regular
Quite a regular


See User information
@kishigo
I don't know about X5000 but on other systems it's setenv os4_commandline serial then saveenv. If you have a U-Boot menu maybe it can be set from that as well. stdout sets the output of U-Boot not the AmigaOS kernel.

Go to top
Re: X5000 Uboot output to serial
Just popping in
Just popping in


See User information
@balaton

Yes I want to set the output of Uboot. I want to see how my memory is being detected. I kind of wish Amiga OS had a CPUZ type of app.

But thank you.

Go to top
Re: X5000 Uboot output to serial
Not too shy to talk
Not too shy to talk


See User information
The X5k uboot will use the serial port without doing anything unless it was changed in recent years
Set the communication to:

115200 Baud
8 Bit data
No parity
1 stop bot
No Flow control

Go to top
Re: X5000 Uboot output to serial
Just popping in
Just popping in


See User information
@smf

Yeah it turns out I had to set stdout to serial. It must have changed at some point.
Anyway. I saw what I needed to see.

Thank you.

Go to top
Re: X5000 Uboot output to serial
Home away from home
Home away from home


See User information
@kishigo
Default should be
stdout=vga,serial
That way you get the output on both the monitor and the serial port.

Go to top
Re: X5000 Uboot output to serial
Just popping in
Just popping in


See User information
@joerg

Thank you. But how should I set that? Should I do setenv stdout vga,serial or is there a way to tell U-boot to use default environment settings?

Go to top
Re: X5000 Uboot output to serial
Home away from home
Home away from home


See User information
@kishigo
You can use "setenv stdout vga,serial", "saveenv" to get that result as well.
To delete an U-Boot variable, which will reset it to it's defaults, use "setenv stdout", "saveenv".

Doesn't matter much for "stdout", but it's important for example for the ethernet MAC address(es), the included SD card has it set (at least on my X5000 that was the case), resulting in all X5000 systems using the same value, which is a problem if you have more than one X5000 in the same LAN. If you delete it ("setenv ethaddr", "saveenv") the default is to read it from the hardware which should have a different MAC address for each system.

Go to top
Re: X5000 Uboot output to serial
Just popping in
Just popping in


See User information
@joerg

Something must have changed. When I tried "setenv stdout" it said "can't delete stdout". When I tried "setenv stdout vga,serial"
it said "error inserting variable errno 22". It wouldn't let me change it. Oh well. It works.

Thank you!

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project