[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH v5 1/4] ppc4xx_i2c: Rewrite to model hardware more
From: |
Cédric Le Goater |
Subject: |
Re: [Qemu-ppc] [PATCH v5 1/4] ppc4xx_i2c: Rewrite to model hardware more closely |
Date: |
Thu, 28 Jun 2018 17:50:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 06/28/2018 04:34 PM, BALATON Zoltan wrote:
> On Thu, 28 Jun 2018, Cédric Le Goater wrote:
>> I have tried an ISO from :
>>
>> http://aros.sourceforge.net/nightly1.php
>>
>> which boots and writes :
>>
>> U-Boot 2010.06.05 (Oct 22 2017 - 17:40:02)
>>
>> CPU: AMCC PowerPC 460EX Rev. B at 1150 MHz (PLB=230 OPB=115 EBC=115)
>> No Security/Kasumi support
>> Bootstrap Option A - Boot ROM Location EBC (8 bits)
>> Internal PCI arbiter disabled
>> 32 kB I-Cache 32 kB D-Cache
>> Board: Sam460ex, PCIe 4x + SATA-2
>> I2C: ready
>> DRAM: 512 MiB (ECC not enabled, 460 MHz, CL0)
>> *** Warning - bad CRC, using default environment
>>
>> PCI: Bus Dev VenId DevId Class Int
>> 00 06 126f 0501 0380 00
>> PCIE1: successfully set as root-complex
>> Net: ppc_4xx_eth0
>> FPGA: Revision 00 (20 0-00-00)
>> SM502: found
>> VGA: NO CARDS
>
> This is the U-Boot firmware that prints this.
>
>> and on the graphic window :
>>
>> FLB: no SLB found in any of the designated boot sources, returning to
>> u-boot.
>
> And also this is from U-Boot saying it could not find bootable image so it
> did not boot. (One could test i2c from u_boot with date and i2c commands as
> well.)
>
>> the graphical bool loader menu works but I couldn't exercise much more the
>> system.
>
> Have you by chance used the -cdrom shortcut? That tries to connect CDROM to
> secondary master but the sii3112 this board uses only has 2 SATA ports so
> this won't work. You need to use the long options like
>
> -drive if=none,id=cd,file=aros-sam440-ppc.iso,format=raw \
> -device ide-cd,drive=cd,bus=ide.0
>
> I'm not sure how to fix -cdrom or have it print a meaningful warning or error.
Looks good :
[BATT] i2c=011bc904
[BATT] Probing i2c RTC...
[BATT] RTC found. Object=011ba234
[BATT] Dump: 35 46 15 04 28 06 18
C.
- Re: [Qemu-ppc] [PATCH v5 2/4] hw/timer: Add basic M41T80 emulation, (continued)