[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/4] BootLinuxSshTest: Test some userspace comma
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH 4/4] BootLinuxSshTest: Test some userspace commands on Malta |
Date: |
Mon, 3 Jun 2019 16:06:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 6/3/19 3:41 PM, Aleksandar Markovic wrote:
>>>>> This test can be run using:
>>>>>
>>>>> $ avocado --show=ssh run -t arch:mips
>>> tests/acceptance/linux_ssh_mips_malta.py
>>>>> ssh: Entering interactive session.
>>>>> ssh: # uname -a
>>>>> ssh: Linux debian-mips 3.2.0-4-4kc-malta #1 Debian 3.2.51-1 mips
>>> GNU/Linux
>>>>> ssh: # lspci -d 11ab:4620
>>>>> ssh: 00:00.0 Host bridge: Marvell Technology Group Ltd.
>>> GT-64120/64120A/64121A System Controller (rev 10)
>>>>> ssh: # cat /sys/bus/i2c/devices/i2c-0/name
>>>>> ssh: SMBus PIIX4 adapter at 1100
>>>>> ssh: # cat /proc/mtd
>>>>> ssh: dev: size erasesize name
>>>>> ssh: mtd0: 00100000 00010000 "YAMON"
>>>>> ssh: mtd1: 002e0000 00010000 "User FS"
>>>>> ssh: mtd2: 00020000 00010000 "Board Config"
>>>>> ssh: # md5sum /dev/mtd2ro
>>>>> ssh: 0dfbe8aa4c20b52e1b8bf3cb6cbdf193 /dev/mtd2ro
>>>>> ssh: # poweroff
>>
>> Aleksandar, do you think of other commands we should run? What commands
>> do you usually try?
>>
>
> Philippe, I will leave to you the choice of commands. You know that I
> have a very high opinion on this test that you designed and also
> implemented, I am more than happy even without any additions. But,
> by no means, add something whenever you think it is interesting
> and useful.
>
> However, I want to bring to your attention something that could also
> be of tremendous importance: Can we try communicating with the
> newly booted machine via gdb? And do some simple commands,
> like load a binary, set a breakpoint, display register content, etc?
Yes! This is my next step, I'm working on some draft series. It might
takes a while. My idea is to have some prototype working, then send as
RFC and ask for help. I'll Cc you then.
Regards,
Phil.