Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
54 user(s) are online (44 user(s) are browsing Forums)

Members: 0
Guests: 54

more...

Support us!

Headlines

 
  Register To Post  

sam460: takeover control by putty ?
Home away from home
Home away from home


See User information
@All

Currently , when i want to control Sam460 via serial from the putty (i mean typing symbols on the terminal instead of on the SAM's keyboard), i should physically detach mouse and keyboard from. But, is there are some variable/environment which i can set, to avoid detaching of keyboard/mouse physically ?

For example, on pegasos2, when i want to have control over terminal and not over peg2's keyboard, i set "setenv output-device ttya", and then use putty without "flow control" to make it works. And to give control back to peg2's keyboard i set it back like "setenv output-device screen". But this is openfirmware, while sam460 is uboot based.

So, question is : is there any environment of this kind like on peg2, which when i set, i have control by terminal of my sam460, without detaching keyboard/mouse from them ?

Setting "stdout=serial" of course only mean to threw output to serial instead of screen, but not about ability to type from serial.

Thanks!

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: sam460: takeover control by putty ?
Just popping in
Just popping in


See User information
@kas1e

setenv stdin serial


Max Tretene, ACube Systems Srl, Soft3
Go to top
Re: sam460: takeover control by putty ?
Home away from home
Home away from home


See User information
@max
Quote:

setenv stdin serial


Yeah, it works for current session (When i am in uboot shell already) , but , when i reboot, i can't "esc" from putty's keyboard to go to the uboot , neither from usb keyboard. But i definately have "serial" for both stdin and stdout.

Maybe i need some special serial settings to make "esc" works form keyboard on serial to go to uboot ? I currently tried 115200, data bits 8, stop bits 1, parity NONE, and flow control NONE (at least with XON/XOFF it didn't works for me on pegasos2).

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: sam460: takeover control by putty ?
Just popping in
Just popping in


See User information
@kas1e

if you need to interrupt the boot countdown and go into u-boot shell, you may press 'q' instead of ESC

Max Tretene, ACube Systems Srl, Soft3
Go to top
Re: sam460: takeover control by putty ?
Home away from home
Home away from home


See User information
@m3x
Right ! "q" works then ! Strange why not ESC, but so far there is a way. And issue only when both stdin and stdout set to serial. If i set stdin to serial, but stdout to vga, then ESC from putty still works. But if i want both output/input to/from serial, then i had to use "q" , as ESC didn't works.

And btw, not only "q", but also "space" works too to go to the uboot-graphical menu: and even with "stdout=serial" it will throw on VGA, which can't be controlled very well as i have both stdout and stdin to "serial" : i.e. up/down/left/right didn't work, but instead act like "esc" :) Maybe if play with different terminal settings it can work, but then if "q" work, then all fine. Is there reasons why "esc" stop working after stdin+stdout at the same time set to serial ?

ps. Btw, is uboot for sam only support "ext2" by default and no fat one ? I just see everywhere in the internet uboot should have "fatls", "fatload" commands, etc, while our one only have "ext2ls" and "ext2load"

ps2. check discord plz :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: sam460: takeover control by putty ?
Just popping in
Just popping in


See User information
@kas1e

yes, it supports only ext2fs, fat support was removed to save space on the 512 Kb boot eeprom, maybe we can add it back again with a new u-boot version.

Max Tretene, ACube Systems Srl, Soft3
Go to top
Re: sam460: takeover control by putty ?
Just popping in
Just popping in


See User information
New u-boot supporting RX500 cards would be nice.

Go to top
Re: sam460: takeover control by putty ?
Amigans Defender
Amigans Defender


See User information
wait.. :P

i'm really tired...
Go to top
Re: sam460: takeover control by putty ?
Just can't stay away
Just can't stay away


See User information
@kas1e
Quote:
Yeah, it works for current session (When i am in uboot shell already) , but , when i reboot, i can't "esc" from putty's keyboard to go to the uboot , neither from usb keyboard. But i definately have "serial" for both stdin and stdout.
Setenv only changes variables for the current session, if you want to make it permanent use
setenv stdin serial
setenv stdout serial
saveenv

Go to top
Re: sam460: takeover control by putty ?
Home away from home
Home away from home


See User information
@joerg
Of course i use saveenv :) Just there is some bug in uboot which prevent using "ESC" when you have both env set to serial (while "q" works).

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: sam460: takeover control by putty ?
Just can't stay away
Just can't stay away


See User information
@kas1e

maybe can the 'ESC not working' be a putty setting/config issue?

EDIT1: tried here on a WinXP and putty 0.73 and ESC works fine:
U-Boot 2015.a (May 16 2015 14:20:11)

CPU:   AMCC PowerPC 460EX RevB at 1155 MHz (PLB=231 OPB=115 EBC=115)
       
Security/Kasumi support
       Bootstrap Option H 
Boot ROM Location I2C (Addr 0x52)
       
Internal PCI arbiter enabled
       32 kB I
-Cache 32 kB D-Cache
Board
Sam460ex/crPCIe 4x PCIe 1x
I2C
:   ready
DRAM
:  2 GiB (ECC not enabled462 MHzCL4)
PCI:   Bus Dev VenId DevId Class Int
        00  04  1095  3114  0104  00
        00  06  126f  0501  
0380  00
PCIE0
link is not up.
PCIE1successfully set as root-complex
        02  00  1002  699f  0300  ff
Net
:   ppc_4xx_eth0
FPGA
:  Revision 03 (2010-10-07)
SM502found
PERMD2
:not found
VGA
:   1
VESA
:  OK
Board
Sam460exPCIe 4x PCIe 1x
USB
:   EHCI 1.00
       scanning bus 
for devices... 5 USB Device(sfound
       scanning usb 
for storage devices... 1 Storage Device(sfound
SATA Device 0
OK
Model
HL-DT-S FirmEX03 Ser#: DVDRAM GH22NS70
            
TypeRemovable CD ROM
            Capacity
not available
Model
Crucial_CT275MX300SSD1 FirmM0CR040 Ser#: 1730181A767F
            
TypeHard Disk
            Supports 48
-bit addressing
            Capacity
262321.6 MB 256.1 GB (537234768 x 512)
Press SPACE for menuESC or for promptEnter for boot source
Countdown
.. 1  break...  <-- [here I pressed ESC on my miggy keyboard]
boota
A1 Second
-level booter V2.
Ideadesign and main codeAndrea Vallinotto.
...


#c:NVGetVar 
baudrate=115200
boot_config
=AmigaOS 4.1 beta
loads_echo
=1
hostname
=Sam460ex
stdout
=serial
stdin
=usbkbd
ide_doreset
=on
ide_reset_timeout
=15
ide_cd_timeout
=20
pcie_mode
=RP:RP
pciconfighost
=1
ethaddr
=00:50:C2:80:D5:00
bootcmd
=menurun menuboot_cmd
menucmd
=menu
boot_method
=boota
usb_enable_4x0
=1
usb_retry
=1
usb_ohci_power_down_before_reset
=1
scan_usb_storage
=1
ethact
=ppc_4xx_eth0
s4sii_maxbus
=1
filesize
=2A3B
fileaddr
=2000000
video_activate
=pci
hush
=0
x86emu
=1
ddr2_boost
=0
ipaddr
=192.168.1.204
serverip
=192.168.1.200
serdes
=pci-e
boot1
=s4siicdrom
boota_timeout
=3
menuboot_delay
=2
os4_commandline
=debuglevel=4 SERIAL MUNGE
bootargs
=root=/dev/sda11 console=ttyS0,115200 console=tty0
boot2
=s4sii
boot3
=usb
menuboot_cmd
=boota
ver
=U-Boot 2015.a (May 16 2015 14:20:11)

Go to top
Re: sam460: takeover control by putty ?
Home away from home
Home away from home


See User information
@javier
As i point before issue with non working ESC happens when you have and stdout set to serial _and_ stdin too (to be able to type from terminal while usb keyboard still attached to sam). In your case stdin is usbkbd. This combo works. But once you will set it to serial, then only "q" will work, while "esc" didnt

Try set to serial also stdin (and not forget to set flow control to None in putty, at least with my cable i shoukd to do so to be able to type from putty)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: sam460: takeover control by putty ?
Home away from home
Home away from home


See User information
@skygecko
Quote:

New u-boot supporting RX500 cards would be nice.






https://www.amigans.net/modules/newbb/viewtopic.php?topic_id=9544


Edited by kas1e on 2024/5/12 8:53:52
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: sam460: takeover control by putty ?
Just can't stay away
Just can't stay away


See User information
@kas1e

Ooops I bypassed that "stdin" option X-)

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