[coreboot] lzma: Deconding error = 1 for QEMU q35 with SeaBIOS

2014-01-19 Thread Piotr Król
Hi Coreboot experts,
I'm trying to use latest Coreboot code(c9babb2) with QEMU(1cf892c) q35
and SeaBIOS(master). Unfortunately, I encounter lzma decoding error
(log: http://pastebin.com/aPaPBjZQ).

I tried to debug LzmaDecode and it looks like rep0 reach some big value
in my case 0x14ed98 after going though lzmadecode.c loops and bitwise
modifications. This triggers RC_INIT after checking condition and return
LZMA_RESULT_DATA_ERROR:

coreboot/payloads/libpayload/liblzma/lzmadecode.c:
379:  if (rep0  nowPos)
380:return LZMA_RESULT_DATA_ERROR;

Is this known issue ?
Any suggestion for fixing it ?

I'm new to this group, so sorry for any confusion or misunderstanding
that I introduced.

Regards,
Piotr


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


[coreboot] ASUS m5a88-v AGESA progress report

2014-01-19 Thread darkdefende

I haven't got much further than when I posted on this mailing list.

I still haven't found the exact cause to why the SATA ports dies when
booting linux.

However my main computer has died so I don't have any computer that I can
use when I'm trying to get coreboot running on that mobo.

But because that computer died I could use the GPU that survived to see
if the pcie ports were working with my coreboot image.
That wasn't the case so I suspect that the sata and pcie problems are
because of the rs780 (northbridge) is not working correctly.

I suspect that this is because I mix AGESA with code that were used
before AGESA was in coreboot.
Because no other board does this I suspected from the start that it would
turn out ugly in the end. But it was worth a try :)

I took a look on the northbridges that have been ported from pre-AGESA to
AGESA boards. But it seems to me that I will not be able to port it myself
as alot of the code seems to heavily rely on vendorcode that AMD as supplied
to coreboot. (There is no vendorcode for rs780, I think)

Because I think that I lack the necessary knowledge to port it over myself,
and because I can't afford to buy a new computer to use for coreboot porting,
I won't get much further.

The code is still hosted on my github page:
https://github.com/DarkDefender/coreboot

What works is:
CPU/RAM (tested with bulldozer and 16GB ram)
Booting to Seabios/grub2
Booting from HDD/Usb with seabios/grub2
Runnig linux from usb with serial output

What might work:
PS2 keyboard (Didn't test it out as I had to do everything over serial
but turning numlock on/off works as the LEDs responds to those key presses.
And kernel panics trigger the LEDs to flash on it also.)

Onboard LAN (The kernel seems to init it fine, but I didn't try to connect
it to a network)

What doesn't work:
SATA ports when booting linux (Haven't tried any other OS)
Onboard audio
Onboard GPU
Pcie ports (And I'm guessing the pci ports also)

I don't know if I should try to push this code into coreboot or not.
It's pretty non functional as I don't think anyone would be happy with
running with only serial and having to use USB as the only main
storage source.

Anyways, It's been a fun ride. I would like to thank everybody that
helped me in some way. I wouldn't gotten this far without you guys! :)

--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] Dual SPI Flash adapter attempt 2.0

2014-01-19 Thread Olliver Schinagl

Hi coreboot!

I finally sent off my order to seeed and have received the boards back. 
It turns out, that over the last year (and a half) seeed actually 
improved their processes and have even narrower minimals, which is great 
for this board.


Anyway, I took some pics and the uploaded the schematics to [1]. I 
rather host the schematics etc somewhere on coreboot's servers, as I 
feel this is as use full to coreboot as anything else.


The only thing I'm not so happy about is the footprint of the FET 
switch. The legs don't seem to match up perfectly (the outer ones only 
strangely) and the pads should have been bigger to make soldering 
easier. But since it is optional (if you bridge s1 and s2 the chip 
doesn't have to be mounted, nor does RN1 I think, but it's been a while :p)


I haven't split all of the boards yet, but I should have tons! 12 * 8. I 
am attending FOSDEM2014 so if any of the coreboot folk are having a 
booth or even just attending, I'd be happy to bring the boards along so 
they can be gifted. Anybody able to cut them though? I used a stanley 
knife scorching the board but that took quite some time :) Using a 
dremel requires extremely steady hands, as the cutting wheel probably 
does fit, but it's extremely tight.


Anyway, looking forward to show it all off @FOSDEM2014 ;)

oliver

[1] http://oliver.schinagl.nl/gallery/v/geek_stuff/dspif/

Quoted the below to help remind people what this post is really about ;)

On 05/13/12 15:39, Oliver Schinagl wrote:

Just an FYI,

This is the final version that I will send over to seeed after placing
an order. The only thing that will change is the order number (now it's
an arbitrary number). If I have to do major changes to the board, I will
of course send an updated version to the list.

Oliver

On 04/28/12 16:14, Oliver Schinagl wrote:

Hey all,

Find here all included fixes and modifications. I've increased spacing
and removed the 'outline' layer. I moved parts to the edge. Since Seeed
does 5x5 boards, I'll assume that those 5x5 is after cutting? Assumption
is ...

If I don't see any feedback on things that need fixing here, I'll set
out an order for the prototypes :)

Oliver

Have a good weekend all!

On 04/26/12 18:56, Oliver Schinagl wrote:

Hey all,

Well here it is, the last version which was even harder then the 3rd
one. or so it seemed anyhow.

I will work on copying these four to the bottom and renaming the labels
before sending them off. I'll post the final pcb on this list again,but
routing wise, Nothing will change, unless of course someone found a
grand mistake.

So really, all input is greatly appreciated :D would be shameful to send
this off to get printed, just to find bugs and have another batch made.

Oliver

On 23-04-12 20:23, Oliver Schinagl wrote:

Hi!

I've worked on a rotated version and planning to do two other
orientations as well, so early feedback is good, so I don't have to
redo them again :)

Silk screening isn't 100% right, since I still need to rename them
eventually somehow (edit .pcb file directly is probably the easiest
way?)

On 04/20/12 14:50, Oliver Schinagl wrote:

Hi list(s),

Here's my second attempt at routing the previously mailed png of my
schema.

It was a lot trickier to route then my previous version, but I think it
worked out!

As mentioned, S1 and S2 need to be shorted if U3 is to be omitted. RN1
should be 10k or ideally 100k, as Peter mentioned earlier.

Hopefully there's no obvious mistakes and can start working on
alternative layouts (so it is insert-able in different angles).

DRC Check fails on S1, S2 and U3. It thinks the distance is to shallow.
That said, DRC check passes when I set the copper width/distance to
7mil's instead of the current 8 mils.

I'm planning on having these PCB's manufactured by Seeed studio and
their minimal width is much smaller.

Minimum trace width: 6mil
Minimum trace/vias/pads space : 6mil
Minimum silkscreen width : 4mil
Minimum silkscreen text size : 32mil

I've used a grid size of 10mil and distances of 8 mils, as I didn't
want
to rely on the minimum of seed. The silkscreen I positioned using a
grid
size of 5 mil's however. Not sure what they mean with a 'minimum
silkscreen text size' however.

Anyhow, feedback greatly appreciated, so I can start working on
alternative layouts :)

















--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


[coreboot] q to AMD folks - version of CIMX of fam15tn

2014-01-19 Thread Rudolf Marek

Hi all,

Please can anyone with access to AGESA check what version of AGESA and CIMX (FCH 
module) was used for coreboot release?


I want to check some erratas and AMD 48671 document 
http://support.amd.com/TechDocs/48671.pdf


Refers to CIMX versions, however there is no define with CIMX version in 
coreboot only some define for CIMX header.


Second q is more about the CPU itself. What revision of AMD errata document 
corresponds with fixes implemented in coreboot AGESA.


And last q is. Will anyone backporting fixes from AMD agesa to coreboot agesa?

Thanks
Rudolf

--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot