Carl-Daniel Hailfinger wrote: > On 25.05.2010 04:00, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >> Carl-Daniel Hailfinger wrote: >> >> >>> Handle the following architectures in generic flashrom code: >>> - x86/x86_64 (little endian) >>> - PowerPC (big endian) >>> - MIPS (big+little endian) >>> >>> Signed-off-by: Carl-Daniel Hailfinger <[email protected]> >>> >>> >>> >> This patch together with setting flash_base to 0x1fc00000 worked fine on >> my yeeloong LM8089 (8.9" version, mipsel (little-endian) ). I attach the >> logs of -Vr, -V and -w together with lspci. >> >> Acked-by: Vladimir 'phcoder/φ-coder' Serbinenko <[email protected]> >> >> > > Thanks for the review and thanks for testing. > > Is there a way to determine the chipset and/or the board from userspace? > I don't think it's actualy necessary. The PCI and LIO bus interfaces as well as address BootROM is mapped to is part of Loongson 2F (CPU) specification. So it's enough to check CPU model. But if you want to be on a safe side you can check "system type" in /proc/cpuinfo as well. > We'll need that to set buses_supported and flash_base correctly. > > Regards, > Carl-Daniel > >
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
system type : lemote-yeeloong-2f-8.9inches processor : 0 cpu model : ICT Loongson-2 V0.3 FPU V0.1 BogoMIPS : 528.38 wait instruction : yes microsecond timers : yes tlb_entries : 64 extra interrupt vector : no hardware watchpoint : yes, count: 0, address/irw mask: [] ASEs implemented : shadow register sets : 1 core : 0 VCED exceptions : not available VCEI exceptions : not available
signature.asc
Description: OpenPGP digital signature
_______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
