On 11/29/23 22:29, Cédric Le Goater wrote:
> On 11/29/23 15:56, Ninad Palsule wrote:
>> Hello Cedric,
>>
>> On 11/27/23 10:31, Cédric Le Goater wrote:
>>> Hello Ninad,
>>>
>>> On 10/26/23 18:47, Ninad Palsule wrote:
>>>> Hello,
>>>>
>>>> Please review the patch-set version 7.
>>>> I have incorporated review comments from Cedric, Philippe and Thomas.
>>>
>>>
>>> I reworked v7 with the suggestions I made in patches 1-6. Please check :
>>>
>>> https://github.com/legoater/qemu/commits/aspeed-8.2
>>>
>>> I will have more questions on the mappings because some parts are really
>>> unclear.
>>>
>> I forgot to mention in my last mail. If I build against your aspeed-8.2 branch then rainier machine is failing to boot.
>>
>> The same images are working with qemu master branch.
>>
>> fsi/qemu-system-arm -M rainier-bmc -nographic -kernel ./fitImage-linux.bin -dtb ./aspeed-bmc-ibm-rainier.dtb -initrd ./obmc-phosphor-initramfs.rootfs.cpio.xz -drive file=./obmc-phosphor-image.rootfs.wic.qcow2,if=sd,index=2 -append 'rootwait console=ttyS4,115200n8 root=PARTLABEL=rofs-a' -net nic -net user,hostfwd=:127.0.0.1:3222-:22,hostfwd=:127.0.0.1:2234-:1234 -trace 'fsi*'
>> |
>> |
>> Starting systemd-udevd version 254^
>> [ 50.630407] /dev/disk/by-partlabel/rofs-a: Can't open blockdev
>> mount: mounting /dev/disk/by-partlabel/rofs-a on /mnt/rofs failed: No such file or directory
>> /bin/sh: can't access tty; job control turned off
>
> Hello,
>
> Please try with '-M rainier-bmc,boot-emmc=false' to avoid using the
> boot emmc mode which is the default for the rainier machine.
>
> I just updated the aspeed-8.2 branch to take into account the -kernel
> option when booting the rainier.
Instead, please update your emmc file image which should contain a
boot area with u-boot.spl and uboot. See patch "hw/sd: Support boot
area in emmc image". Or use '-M rainier-bmc,boot-emmc=false'
Thanks,
C.