Mail Lists | 8 Oct 00:21

alix.2c3 stops at mainboard_pre_payload: done

Hello!

I'm experimenting with alix.2c3 here, but have no luck.
I tried coreboot v3 (r870, r898) with filo (r64, r80) and coreinfo
(r3640) payloads (with libpayload r3640). All ends up with following:

last n-lines snippet (can do full log if it's needed)
.......
Wrote coreboot table at: 0x00000500 - 0x00000bbc  checksum 50f0
Show all devs...
root(Root Device): enabled 1 have_resources 0 initialized 1
cpus: Unknown device path type: 0
cpus(): enabled 1 have_resources 0 initialized 0
apic_0(APIC: 00): enabled 1 have_resources 1 initialized 1
domain_0_pci_1_0(PCI: 00:01.0): enabled 1 have_resources 1 initialized 1
domain_0_pci_f_0(PCI: 00:0f.0): enabled 1 have_resources 1 initialized 1
domain_0_pci_f_2(PCI: 00:0f.2): enabled 1 have_resources 1 initialized 1
domain_0(PCI_DOMAIN: 0000): enabled 1 have_resources 1 initialized 0
dynamic PCI: 00:01.1(PCI: 00:01.1): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:01.2(PCI: 00:01.2): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:09.0(PCI: 00:09.0): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:0a.0(PCI: 00:0a.0): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:0b.0(PCI: 00:0b.0): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:0f.3(PCI: 00:0f.3): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:0f.4(PCI: 00:0f.4): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:0f.5(PCI: 00:0f.5): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:0f.6(PCI: 00:0f.6): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:0f.7(PCI: 00:0f.7): enabled 1 have_resources 1 initialized 1
Stage2 code done.
LAR: Attempting to open 'normal/payload'.
(Continue reading)

Peter Stuge | 8 Oct 01:16

Re: alix.2c3 stops at mainboard_pre_payload: done

Hi Roman,

Mail Lists wrote:
> I'm experimenting with alix.2c3 here, but have no luck.
> I tried coreboot v3 (r870, r898) with filo (r64, r80) and coreinfo
> (r3640) payloads (with libpayload r3640). All ends up with following:
> 
> last n-lines snippet (can do full log if it's needed)

Please do send the full log.

> LAR: File not found!
> LAR: load_file: No such file 'normal/payload/segment2'

This can look ominous but v3 does not know how many segments there
are in the payload and will try to load them in order until one can't
be found.

> #define POST_STAGE2_ARCH_WRITE_TABLES_MIDDLE    0x96
> 
> Don't know what this actually means.

coreboot seems to stop in the middle of writing tables to RAM.

> Did anybody have this kind of problem?

I haven't seen this particular problem before.

> Is there any know-how to make it work? Or does it actually work at
> all?
(Continue reading)

Roman Yeryomin | 8 Oct 11:54

Re: alix.2c3 stops at mainboard_pre_payload: done

On Wednesday 08 October 2008 02:16:44 Peter Stuge wrote:
> Hi Roman,
>
> Mail Lists wrote:
> > I'm experimenting with alix.2c3 here, but have no luck.
> > I tried coreboot v3 (r870, r898) with filo (r64, r80) and coreinfo
> > (r3640) payloads (with libpayload r3640). All ends up with following:
> >
> > last n-lines snippet (can do full log if it's needed)
>
> Please do send the full log.

ok, will do as soon as I will get to my alix

>
> How are you building coreboot?

build payload
get coreboot from svn
make menuconfig
include payload
make

but seems like I need to try buildrom also...
but anyway... I think it should work like this also, isn't it?

> If you're not using buildrom, you need some LAR know-how because the
> v3 build process is a bit broken in that it does not include the VSA
> into the resulting larball (coreboot.rom) automatically. The magic
> command is:
(Continue reading)

Peter Stuge | 8 Oct 16:12

Re: alix.2c3 stops at mainboard_pre_payload: done

Roman Yeryomin wrote:
> > How are you building coreboot?
> 
> build payload
> get coreboot from svn
> make menuconfig
> include payload
> make
> 
> but seems like I need to try buildrom also...
> but anyway... I think it should work like this also, isn't it?

Yes, I definately agree with you. The v3 build system still has bugs.

> > lar -C lzma -a build/coreboot.rom amd_vsa_lx_1.01.bin:blob/vsa
> 
> of cause I did that

Perfect. I hope those logs can tell us more.

//Peter

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Roman Yeryomin | 8 Oct 21:21

Re: alix.2c3 stops at mainboard_pre_payload: done

On Wed, Oct 8, 2008 at 5:12 PM, Peter Stuge <peter <at> stuge.se> wrote:
> Perfect. I hope those logs can tell us more.

ok, here they come...
flashing process seems to be ok:

flashrom -vw bios.bin
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "AMD CS5536", enabling flash write... OK.
Found chip "AMIC A49LF040A" (512 KB) at physical address 0xfff80000.
Flash image seems to be a legacy BIOS. Disabling checks.
Programming page: 0007 at address: 0x00070000
Verifying flash... VERIFIED.

full boot log in attachment, hope it helps
Attachment (coreboot.log): application/octet-stream, 82 KiB
--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot
Roman Yeryomin | 8 Oct 21:52

Re: alix.2c3 stops at mainboard_pre_payload: done

On Wed, Oct 8, 2008 at 5:12 PM, Peter Stuge <peter <at> stuge.se> wrote:
> Roman Yeryomin wrote:
>>
>> but seems like I need to try buildrom also...

same behaviour with buildrom
see attached log
Attachment (coreboot2.log): application/octet-stream, 72 KiB
--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot
Peter Stuge | 8 Oct 21:55

Re: alix.2c3 stops at mainboard_pre_payload: done

Roman Yeryomin wrote:
> same behaviour with buildrom

Looks pretty good. Give me a few minutes, I'll compare with my 1c.

//Peter

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Peter Stuge | 8 Oct 23:11

Re: alix.2c3 stops at mainboard_pre_payload: done

Roman Yeryomin wrote:
> Stage2 code done.
..
> LAR: load_file: No such file 'normal/payload/segment2'
> LAR: load_file_segments: All loaded, entry 0x00101968
> ========== mainboard_pre_payload: done =========================================

--8<-- end of my log with ELF loader
Stage2 code done.
LAR: Attempting to open 'normal/payload'.
LAR: Start 0xfffe0000 len 0x20000
LAR: seen member normal/option_table <at> 0xfffe0000, size 1200
LAR: seen member normal/initram/segment0 <at> 0xfffe0500, size 5984
LAR: seen member normal/stage2/segment0 <at> 0xfffe1cb0, size 1
LAR: seen member normal/stage2/segment1 <at> 0xfffe1d10, size 17410
LAR: seen member normal/stage2/segment2 <at> 0xfffe6170, size 552
LAR: seen member blob/vsa <at> 0xfffe63f0, size 30374
LAR: seen member normal/payload <at> 0xfffedae0, size 16651
LAR: CHECK normal/payload @ 0xfffedae0 start 0xfffedb20 len 16651 reallen 28892 compression 1 entry
0x00000000 loadaddress 0x00000000
LAR: Attempting to open 'normal/payload'.
LAR: Start 0xfffe0000 len 0x20000
LAR: seen member normal/option_table <at> 0xfffe0000, size 1200
LAR: seen member normal/initram/segment0 <at> 0xfffe0500, size 5984
LAR: seen member normal/stage2/segment0 <at> 0xfffe1cb0, size 1
LAR: seen member normal/stage2/segment1 <at> 0xfffe1d10, size 17410
LAR: seen member normal/stage2/segment2 <at> 0xfffe6170, size 552
LAR: seen member blob/vsa <at> 0xfffe63f0, size 30374
LAR: seen member normal/payload <at> 0xfffedae0, size 16651
LAR: CHECK normal/payload @ 0xfffedae0 start 0xfffedb20 len 16651 reallen 28892 compression 1 entry
(Continue reading)

Roman Yeryomin | 9 Oct 10:25

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 12:11 AM, Peter Stuge <peter <at> stuge.se> wrote:
>
> I don't see the "mainboard_pre_payload" message at all, even though
> it is in alix1c/stage1.c just like alix2c3/stage1.c.

so why is it appearing at all?

> You could try first without preparsing the payload, and then try a
> few different payloads. What are you currently using?

already tried not to preparse payload, with coreboot-v3 svn it gives
the same "mainboard_pre_payload" message , just tried with buildrom:

Wrote coreboot table at: 0x00000500 - 0x00000bbc  checksum 3fe7
Show all devs...
root(Root Device): enabled 1 have_resources 0 initialized 1
cpus: Unknown device path type: 0
cpus(): enabled 1 have_resources 0 initialized 0
apic_0(APIC: 00): enabled 1 have_resources 1 initialized 1
domain_0_pci_1_0(PCI: 00:01.0): enabled 1 have_resources 1 initialized 1
domain_0_pci_f_0(PCI: 00:0f.0): enabled 1 have_resources 1 initialized 1
domain_0_pci_f_2(PCI: 00:0f.2): enabled 1 have_resources 1 initialized 1
domain_0(PCI_DOMAIN: 0000): enabled 1 have_resources 1 initialized 0
dynamic PCI: 00:01.1(PCI: 00:01.1): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:01.2(PCI: 00:01.2): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:09.0(PCI: 00:09.0): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:0a.0(PCI: 00:0a.0): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:0b.0(PCI: 00:0b.0): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:0f.3(PCI: 00:0f.3): enabled 1 have_resources 1 initialized 1
dynamic PCI: 00:0f.4(PCI: 00:0f.4): enabled 1 have_resources 1 initialized 1
(Continue reading)

Peter Stuge | 9 Oct 15:46

Re: alix.2c3 stops at mainboard_pre_payload: done

Roman Yeryomin wrote:
> > I don't see the "mainboard_pre_payload" message at all, even
> > though it is in alix1c/stage1.c just like alix2c3/stage1.c.
> 
> so why is it appearing at all?

I would expect it to always appear. I think it's a bug that it
doesn't appear for me when using the ELF loader.

> > You could try first without preparsing the payload, and then try a
> > few different payloads. What are you currently using?
> 
> already tried not to preparse payload, with coreboot-v3 svn it gives
> the same "mainboard_pre_payload" message

That does not match my results. Hmm.

> , just tried with buildrom:
> 
> LAR: load_file: No such file 'normal/payload/segment0'
> LAR: load_file_segments: Failed for normal/payload
> FATAL: No usable payload found.

This is not using the ELF loader, this is trying to load a preparsed
payload.

> tried with coreinfo and filo payloads (both buildrom and clean svn)
> 
> what versions/revisions people with working alix.2c3 use?

(Continue reading)

Roman Yeryomin | 9 Oct 17:13

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thursday 09 October 2008 16:46:00 Peter Stuge wrote:
> > what versions/revisions people with working alix.2c3 use?
>
> I'm using FILO r49 or r52 and v3 r909.
>
> Maybe you can try building v3 with the ELF loader enabled and a few
> different payloads without using preparsing?
>

ok, I will try again from scratch few hours later and let you know

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

ron minnich | 9 Oct 16:33

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 1:25 AM, Roman Yeryomin <leroi.lists <at> gmail.com> wrote:

> LAR: Attempting to open 'normal/payload/segment0'.
> LAR: Start 0xfff80000 len 0x80000
> LAR: seen member normal/option_table <at> 0xfff80000, size 1200
> LAR: seen member normal/initram/segment0 <at> 0xfff80500, size 5976
> LAR: seen member normal/stage2/segment0 <at> 0xfff81cb0, size 1
> LAR: seen member normal/stage2/segment1 <at> 0xfff81d10, size 18500
> LAR: seen member normal/stage2/segment2 <at> 0xfff865b0, size 403
> LAR: seen member normal/payload <at> 0xfff867a0, size 17963
> LAR: seen member blob/vsa <at> 0xfff8ae10, size 30374
> LAR: seen member zerofill <at> 0xfff92500, size 428671
> LAR: seen member bootblock <at> 0xffffafc0, size 20480
> LAR: File not found!
> LAR: load_file: No such file 'normal/payload/segment0'
> LAR: load_file_segments: Failed for normal/payload
> FATAL: No usable payload found.
>
>

your build is misconfigured somehow.

You are loading an ELF payload and ELF is not built in as part of your build.

2 suggestions: get an image from someone else that is "known good",
and burn and test it. That will verify hardware. Second, send us your
v3 config file. Something is wrong with your build.

ron

(Continue reading)

Ward Vandewege | 9 Oct 16:51
Gravatar

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 09, 2008 at 07:33:23AM -0700, ron minnich wrote:
> your build is misconfigured somehow.
> 
> You are loading an ELF payload and ELF is not built in as part of your build.
> 
> 2 suggestions: get an image from someone else that is "known good",
> and burn and test it. 

I can help with that. I'll send you an image in a separate message Roman.

Thanks,
Ward.

--

-- 
Ward Vandewege <ward <at> fsf.org>
Free Software Foundation - Senior Systems Administrator

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Roman Yeryomin | 9 Oct 17:14

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thursday 09 October 2008 17:51:01 Ward Vandewege wrote:
> On Thu, Oct 09, 2008 at 07:33:23AM -0700, ron minnich wrote:
> > your build is misconfigured somehow.
> >
> > You are loading an ELF payload and ELF is not built in as part of your
> > build.
> >
> > 2 suggestions: get an image from someone else that is "known good",
> > and burn and test it.
>
> I can help with that. I'll send you an image in a separate message Roman.

cool
got it
will test after a while

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Roman Yeryomin | 9 Oct 18:05

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 6:14 PM, Roman Yeryomin <leroi.lists <at> gmail.com> wrote:
> On Thursday 09 October 2008 17:51:01 Ward Vandewege wrote:
>> On Thu, Oct 09, 2008 at 07:33:23AM -0700, ron minnich wrote:
>> > your build is misconfigured somehow.
>> >
>> > You are loading an ELF payload and ELF is not built in as part of your
>> > build.
>> >
>> > 2 suggestions: get an image from someone else that is "known good",
>> > and burn and test it.
>>
>> I can help with that. I'll send you an image in a separate message Roman.
>
> cool
> got it
> will test after a while
>

Well.. it works!
btw, with filo already loaded it shows post code 96 anyway!

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Peter Stuge | 9 Oct 18:50

Re: alix.2c3 stops at mainboard_pre_payload: done

Roman Yeryomin wrote:
> Well.. it works!

Ok. I believe your problem is with the payload. If you have a chance,
try with the ELF loader and adding an ELF payload without lar -e.

Then, try reconfiguring without the ELF loader and add payload with
lar -e.

Please note that the v3 build system does not neccessarily handle
dependencies correctly yet, so it is always best to rm -rf build or
make distclean when changing configuration.

> btw, with filo already loaded it shows post code 96 anyway!

The payloads probably don't output any new codes.

//Peter

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Ward Vandewege | 9 Oct 18:58
Gravatar

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 09, 2008 at 07:05:23PM +0300, Roman Yeryomin wrote:
> On Thu, Oct 9, 2008 at 6:14 PM, Roman Yeryomin <leroi.lists <at> gmail.com> wrote:
> > On Thursday 09 October 2008 17:51:01 Ward Vandewege wrote:
> >> On Thu, Oct 09, 2008 at 07:33:23AM -0700, ron minnich wrote:
> >> > your build is misconfigured somehow.
> >> >
> >> > You are loading an ELF payload and ELF is not built in as part of your
> >> > build.
> >> >
> >> > 2 suggestions: get an image from someone else that is "known good",
> >> > and burn and test it.
> >>
> >> I can help with that. I'll send you an image in a separate message Roman.
> >
> > cool
> > got it
> > will test after a while
> >
> 
> Well.. it works!

Great.

So, as Peter said, payload problems. There is one thing to make sure; if you
use a filo or etherboot payload, you should disable lzma compression (it does
not work for those payloads).

Thanks,
Ward.
--

-- 
(Continue reading)

Peter Stuge | 9 Oct 19:27

Re: alix.2c3 stops at mainboard_pre_payload: done

Ward Vandewege wrote:
> There is one thing to make sure; if you use a filo or etherboot
> payload, you should disable lzma compression (it does not work for
> those payloads).

My FILO works when lzma compressed, preparsed or not;

$ lar l build/bios.bin 
  normal/option_table (1200 bytes @0x50);loadaddress 0x0 entry 0x0
  normal/initram/segment0 (5984 bytes @0x550);loadaddress 0x0 entry 0x0x101d
  normal/stage2/segment0 (194748 bytes, zeroes compressed to 1 bytes @0x1d00);loadaddress 0x0xbe30
entry 0x0x2000
  normal/stage2/segment1 (32623 bytes, lzma compressed to 17410 bytes @0x1d60);loadaddress 0x0x2000
entry 0x0x2000
  normal/stage2/segment2 (7728 bytes, lzma compressed to 552 bytes @0x61c0);loadaddress 0x0xa000 entry 0x0x2000
  blob/vsa (57504 bytes, lzma compressed to 30374 bytes @0x6430);loadaddress 0x0 entry 0x0
  normal/payload/segment0 (123136 bytes, zeroes compressed to 1 bytes @0xdb30);loadaddress 0x0x106e10
entry 0x0x104de8
  normal/payload/segment1 (28172 bytes, lzma compressed to 16417 bytes @0xdb90);loadaddress
0x0x100000 entry 0x0x104de8
  normal/payload/segment2 (72 bytes, lzma compressed to 47 bytes @0x11c10);loadaddress 0x0x124f10
entry 0x0x104de8
  zerofill (37695 bytes @0x11c80);loadaddress 0x0 entry 0x0
  bootblock (20480 bytes @0x1b000)
Total size = 130977B 127KB (0x1ffa1)

//Peter

--
coreboot mailing list: coreboot <at> coreboot.org
(Continue reading)

Ward Vandewege | 9 Oct 20:10
Gravatar

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 09, 2008 at 07:27:30PM +0200, Peter Stuge wrote:
> Ward Vandewege wrote:
> > There is one thing to make sure; if you use a filo or etherboot
> > payload, you should disable lzma compression (it does not work for
> > those payloads).
> 
> My FILO works when lzma compressed, preparsed or not;
> 
> $ lar l build/bios.bin 
>   normal/option_table (1200 bytes @0x50);loadaddress 0x0 entry 0x0
>   normal/initram/segment0 (5984 bytes @0x550);loadaddress 0x0 entry 0x0x101d
>   normal/stage2/segment0 (194748 bytes, zeroes compressed to 1 bytes @0x1d00);loadaddress 0x0xbe30
entry 0x0x2000
>   normal/stage2/segment1 (32623 bytes, lzma compressed to 17410 bytes @0x1d60);loadaddress 0x0x2000
entry 0x0x2000
>   normal/stage2/segment2 (7728 bytes, lzma compressed to 552 bytes @0x61c0);loadaddress 0x0xa000
entry 0x0x2000
>   blob/vsa (57504 bytes, lzma compressed to 30374 bytes @0x6430);loadaddress 0x0 entry 0x0
>   normal/payload/segment0 (123136 bytes, zeroes compressed to 1 bytes @0xdb30);loadaddress
0x0x106e10 entry 0x0x104de8
>   normal/payload/segment1 (28172 bytes, lzma compressed to 16417 bytes @0xdb90);loadaddress
0x0x100000 entry 0x0x104de8
>   normal/payload/segment2 (72 bytes, lzma compressed to 47 bytes @0x11c10);loadaddress 0x0x124f10
entry 0x0x104de8
>   zerofill (37695 bytes @0x11c80);loadaddress 0x0 entry 0x0
>   bootblock (20480 bytes @0x1b000)
> Total size = 130977B 127KB (0x1ffa1)

That's good. It definitely does not work in v2 though.

(Continue reading)

Roman Yeryomin | 9 Oct 21:11

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 8:27 PM, Peter Stuge <peter <at> stuge.se> wrote:
> Ward Vandewege wrote:
>> There is one thing to make sure; if you use a filo or etherboot
>> payload, you should disable lzma compression (it does not work for
>> those payloads).
>
> My FILO works when lzma compressed, preparsed or not;
>

finally I got it working!
versions/revisions I use: libpayload r3640, filo r80, coreboot r912
didn't try compression yet but it works for me ONLY with preparsed
payload (and adding it manually, not within coreboot build system)

./build/util/lar/lar -l bios.bin
  normal/option_table (1200 bytes @0x50);loadaddress 0x0 entry 0x0
  normal/initram/segment0 (5976 bytes @0x550);loadaddress 0x0 entry 0x0x1015
  normal/stage2/segment0 (194760 bytes, zeroes compressed to 1 bytes
@0x1d00);loadaddress 0x0xd014 entry 0x0x2000
  normal/stage2/segment1 (34752 bytes @0x1d60);loadaddress 0x0x2000
entry 0x0x2000
  normal/stage2/segment2 (6228 bytes @0xa570);loadaddress 0x0xb7c0
entry 0x0x2000
  normal/payload/segment0 (3514056 bytes, zeroes compressed to 1 bytes
@0xbe20);loadaddress 0x0x1096a8 entry 0x0x10007c
  normal/payload/segment1 (38568 bytes @0xbe80);loadaddress 0x0x100000
entry 0x0x10007c
  normal/payload/segment2 (72 bytes @0x15580);loadaddress 0x0x463570
entry 0x0x10007c
  blob/vsa (57504 bytes @0x15610);loadaddress 0x0 entry 0x0
(Continue reading)

ron minnich | 9 Oct 21:18

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 12:11 PM, Roman Yeryomin <leroi.lists <at> gmail.com> wrote:

> ./build/util/lar/lar -l bios.bin
>  normal/option_table (1200 bytes @0x50);loadaddress 0x0 entry 0x0
>  normal/initram/segment0 (5976 bytes @0x550);loadaddress 0x0 entry 0x0x1015
>  normal/stage2/segment0 (194760 bytes, zeroes compressed to 1 bytes
> @0x1d00);loadaddress 0x0xd014 entry 0x0x2000
>  normal/stage2/segment1 (34752 bytes @0x1d60);loadaddress 0x0x2000
> entry 0x0x2000
>  normal/stage2/segment2 (6228 bytes @0xa570);loadaddress 0x0xb7c0
> entry 0x0x2000
>  normal/payload/segment0 (3514056 bytes, zeroes compressed to 1 bytes
> @0xbe20);loadaddress 0x0x1096a8 entry 0x0x10007c
>  normal/payload/segment1 (38568 bytes @0xbe80);loadaddress 0x0x100000
> entry 0x0x10007c
>  normal/payload/segment2 (72 bytes @0x15580);loadaddress 0x0x463570
> entry 0x0x10007c
>  blob/vsa (57504 bytes @0x15610);loadaddress 0x0 entry 0x0
>  bootblock (20480 bytes @0x7b000)
> Total size = 165534B 161KB (0x2869e)
>
> comparing to your image I don't have zerofill, does this matter?
>
> one more issue I've noticed: kernel boots fine and seems to work ok
> but I don't have serial console anymore.. :( do you have it working on
> your alix? what could be the problem?
>
>

zerofill is needed for speed but not correctness.
(Continue reading)

Peter Stuge | 9 Oct 21:30

Re: alix.2c3 stops at mainboard_pre_payload: done

ron minnich wrote:
> so you are saying a make in coreboot-v3 doesn't correctly set up
> the payload?

Neither VSA nor payload. Never has for me.

//Peter

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

ron minnich | 9 Oct 21:35

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 12:30 PM, Peter Stuge <peter <at> stuge.se> wrote:
> ron minnich wrote:
>> so you are saying a make in coreboot-v3 doesn't correctly set up
>> the payload?
>
> Neither VSA nor payload. Never has for me.
>
>

I understand VSA but every platform I build for includes the payload
just fine. This is weird. Are you including the ELF parser in coreboot
or are you doing pre-parsing?

ron

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Roman Yeryomin | 9 Oct 21:40

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 10:30 PM, Peter Stuge <peter <at> stuge.se> wrote:
> ron minnich wrote:
>> so you are saying a make in coreboot-v3 doesn't correctly set up
>> the payload?
>
> Neither VSA nor payload. Never has for me.
>

well, yes it adds payload (preparsed or not) but it simply doesn't
work... at least for me

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Peter Stuge | 9 Oct 21:29

Re: alix.2c3 stops at mainboard_pre_payload: done

Roman Yeryomin wrote:
> finally I got it working!

Great!

> versions/revisions I use: libpayload r3640, filo r80, coreboot r912
> didn't try compression yet but it works for me ONLY with preparsed
> payload (and adding it manually, not within coreboot build system)

Hm, ok. Yes, the build system doesn't include either VSA or payload.
I'd love to get that fixed.

> ./build/util/lar/lar -l bios.bin
> Total size = 165534B 161KB (0x2869e)
> 
> comparing to your image I don't have zerofill, does this matter?

Only for boot speed. zerofill is used to "finalize" the larball so
that scanning it's contents is as fast as possible. Without it,
coreboot spends a lot of time during boot searching for files in
unprogrammed flash memory.

> one more issue I've noticed: kernel boots fine and seems to work ok
> but I don't have serial console anymore.. :( do you have it working
> on your alix?

Yes, works well on the 1c.

> what could be the problem?

(Continue reading)

ron minnich | 9 Oct 21:33

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 12:29 PM, Peter Stuge <peter <at> stuge.se> wrote:

> Hm, ok. Yes, the build system doesn't include either VSA or payload.
> I'd love to get that fixed.

build system includes payload.

Heres' my dbe62 script:

#!/bin/bash

cp build/bios.bin /tmp/d.bin

lar -a /tmp/d.bin amd_vsa_lx_1.01.bin:blob/vsa

lar z /tmp/d.bin

lar l /tmp/d.bin

here's the relevant bits of .config I use:

# Payload

#

# CONFIG_PAYLOAD_ELF_LOADER is not set

CONFIG_PAYLOAD_ELF=y

# CONFIG_PAYLOAD_NONE is not set
(Continue reading)

Peter Stuge | 9 Oct 21:45

Re: alix.2c3 stops at mainboard_pre_payload: done

ron minnich wrote:
> build system includes payload.

> CONFIG_PAYLOAD_ELF=y
> CONFIG_PAYLOAD_FILE="../eb-5.4.3-via-velocity.elf"

> the coreboot v3 build includes the payload just fine.

Great! Then the problem must be the path in my (and Roman's) setup.

> we made a decision on this list to NOT have coreboot v3 build
> include the VSA -- that's what buildrom is supposed to be for.

Should we reconsider?

//Peter

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Roman Yeryomin | 9 Oct 21:47

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 10:29 PM, Peter Stuge <peter <at> stuge.se> wrote:
>> one more issue I've noticed: kernel boots fine and seems to work ok
>> but I don't have serial console anymore.. :( do you have it working
>> on your alix?
>
> Yes, works well on the 1c.
>
>
>> what could be the problem?
>
> My 1c has the serial port on a superio chip. I recognize this problem
> from other boards. I also have a 3c3 where I saw this before I fried
> the 5536 ATA driver.
>

Sorry didn't understand what you actually mean here... that I have
fried my hardware?

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Peter Stuge | 9 Oct 22:20

Re: alix.2c3 stops at mainboard_pre_payload: done

Roman Yeryomin wrote:
> >> what could be the problem?
> >
> > My 1c has the serial port on a superio chip. I recognize this
> > problem from other boards. I also have a 3c3 where I saw this
> > before I fried the 5536 ATA driver.
> 
> Sorry didn't understand what you actually mean here... that I have
> fried my hardware?

Sorry! No not at all!

The serial port on alix1c is on the Winbond superio chip. The alix2
and 3 boards do not have this superio chip and their serial port is
connected directly to the 5536 - and this is probably the reason that
serial doesn't work anymore.

The 5536 port shall of course work too, but the Winbond chip is much
more common.

I only meant that I haven't spent any time on my 3c3 board since I
fried it.

Sorry for the confusion!

//Peter

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot
(Continue reading)

Roman Yeryomin | 9 Oct 23:10

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 11:20 PM, Peter Stuge <peter <at> stuge.se> wrote:
> Roman Yeryomin wrote:
>> >> what could be the problem?
>> >
>> > My 1c has the serial port on a superio chip. I recognize this
>> > problem from other boards. I also have a 3c3 where I saw this
>> > before I fried the 5536 ATA driver.
>>
>> Sorry didn't understand what you actually mean here... that I have
>> fried my hardware?
>
> Sorry! No not at all!
>
> The serial port on alix1c is on the Winbond superio chip. The alix2
> and 3 boards do not have this superio chip and their serial port is
> connected directly to the 5536 - and this is probably the reason that
> serial doesn't work anymore.

that's interesting.. but seems like kernel correctly detects ttyS0 and
spits it's messages to it

....
console [tty0] enabled
console [ttyS0] enabled
....
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
....

but after init starts it doesn't work anymore :(
(Continue reading)

Roman Yeryomin | 9 Oct 23:18

Re: alix.2c3 stops at mainboard_pre_payload: done

On Fri, Oct 10, 2008 at 12:10 AM, Roman Yeryomin <leroi.lists <at> gmail.com> wrote:
> On Thu, Oct 9, 2008 at 11:20 PM, Peter Stuge <peter <at> stuge.se> wrote:
>> Roman Yeryomin wrote:
>>> >> what could be the problem?
>>> >
>>> > My 1c has the serial port on a superio chip. I recognize this
>>> > problem from other boards. I also have a 3c3 where I saw this
>>> > before I fried the 5536 ATA driver.
>>>
>>> Sorry didn't understand what you actually mean here... that I have
>>> fried my hardware?
>>
>> The serial port on alix1c is on the Winbond superio chip. The alix2
>> and 3 boards do not have this superio chip and their serial port is
>> connected directly to the 5536 - and this is probably the reason that
>> serial doesn't work anymore.
>
> that's interesting.. but seems like kernel correctly detects ttyS0 and
> spits it's messages to it
>
> ....
> console [tty0] enabled
> console [ttyS0] enabled
> ....
> Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
> serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
> ....
>
> but after init starts it doesn't work anymore :(
> devise is present:
(Continue reading)

Ward Vandewege | 9 Oct 22:23
Gravatar

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 09, 2008 at 10:20:29PM +0200, Peter Stuge wrote:
> Roman Yeryomin wrote:
> > >> what could be the problem?
> > >
> > > My 1c has the serial port on a superio chip. I recognize this
> > > problem from other boards. I also have a 3c3 where I saw this
> > > before I fried the 5536 ATA driver.
> > 
> > Sorry didn't understand what you actually mean here... that I have
> > fried my hardware?
> 
> Sorry! No not at all!
> 
> The serial port on alix1c is on the Winbond superio chip. The alix2
> and 3 boards do not have this superio chip and their serial port is
> connected directly to the 5536 - and this is probably the reason that
> serial doesn't work anymore.

I don't understand - serial works fine for me on the 2c3. Getting serial to
work was in fact the 'hardest' part of doing the 2c3 port based on the .1c
code, because of the absense of the winbond superio chip. It required all of
changing a few lines of code :)

Thanks,
Ward.

--

-- 
Ward Vandewege <ward <at> fsf.org>
Free Software Foundation - Senior Systems Administrator

(Continue reading)

Roman Yeryomin | 10 Oct 09:04

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 11:23 PM, Ward Vandewege <ward <at> gnu.org> wrote:
> On Thu, Oct 09, 2008 at 10:20:29PM +0200, Peter Stuge wrote:
>> Roman Yeryomin wrote:
>> > >> what could be the problem?
>> > >
>> > > My 1c has the serial port on a superio chip. I recognize this
>> > > problem from other boards. I also have a 3c3 where I saw this
>> > > before I fried the 5536 ATA driver.
>> >
>> > Sorry didn't understand what you actually mean here... that I have
>> > fried my hardware?
>>
>> Sorry! No not at all!
>>
>> The serial port on alix1c is on the Winbond superio chip. The alix2
>> and 3 boards do not have this superio chip and their serial port is
>> connected directly to the 5536 - and this is probably the reason that
>> serial doesn't work anymore.
>
> I don't understand - serial works fine for me on the 2c3. Getting serial to
> work was in fact the 'hardest' part of doing the 2c3 port based on the .1c
> code, because of the absense of the winbond superio chip. It required all of
> changing a few lines of code :)
>

that image you gave me.. serial works with it for you, right? (I didn't check)
also what kind of linux distribution you have? does it work with busybox also?

Roman

(Continue reading)

Roman Yeryomin | 10 Oct 11:02

Re: alix.2c3 stops at mainboard_pre_payload: done

On Fri, Oct 10, 2008 at 10:04 AM, Roman Yeryomin <leroi.lists <at> gmail.com> wrote:
>> I don't understand - serial works fine for me on the 2c3. Getting serial to
>> work was in fact the 'hardest' part of doing the 2c3 port based on the .1c
>> code, because of the absense of the winbond superio chip. It required all of
>> changing a few lines of code :)
>>
>
> that image you gave me.. serial works with it for you, right? (I didn't check)
> also what kind of linux distribution you have? does it work with busybox also?
>

Well, serial doesn't work for me with your image also... :(

Roman

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Ward Vandewege | 10 Oct 14:51
Gravatar

Re: alix.2c3 stops at mainboard_pre_payload: done

On Fri, Oct 10, 2008 at 12:02:17PM +0300, Roman Yeryomin wrote:
> On Fri, Oct 10, 2008 at 10:04 AM, Roman Yeryomin <leroi.lists <at> gmail.com> wrote:
> >> I don't understand - serial works fine for me on the 2c3. Getting serial to
> >> work was in fact the 'hardest' part of doing the 2c3 port based on the .1c
> >> code, because of the absense of the winbond superio chip. It required all of
> >> changing a few lines of code :)
> >>
> >
> > that image you gave me.. serial works with it for you, right? (I didn't check)
> > also what kind of linux distribution you have? does it work with busybox also?
> >
> 
> Well, serial doesn't work for me with your image also... :(

Something is wrong then - unless you're not looking at the right speed?
115200 baud.

Note that that image I gave you will not send out much on serial, I reduced
the coreboot log level because the alix.2c3 does not have a cmos battery and
thus will always default to the hardcoded log level when powered on - and
that's set to SPEW right now in the buildrom version. But you should see some
output, and then a very quick jump to filo.

Now - if your grub.list file on disk does not specify serial, you might not
see filo on serial either. Does it?

Thanks,
Ward.

--

-- 
(Continue reading)

Roman Yeryomin | 10 Oct 18:35

Re: alix.2c3 stops at mainboard_pre_payload: done

On Friday 10 October 2008 15:51:13 Ward Vandewege wrote:
> On Fri, Oct 10, 2008 at 12:02:17PM +0300, Roman Yeryomin wrote:
> > On Fri, Oct 10, 2008 at 10:04 AM, Roman Yeryomin <leroi.lists <at> gmail.com> 
wrote:
> > >> I don't understand - serial works fine for me on the 2c3. Getting
> > >> serial to work was in fact the 'hardest' part of doing the 2c3 port
> > >> based on the .1c code, because of the absense of the winbond superio
> > >> chip. It required all of changing a few lines of code :)
> > >
> > > that image you gave me.. serial works with it for you, right? (I didn't
> > > check) also what kind of linux distribution you have? does it work with
> > > busybox also?
> >
> > Well, serial doesn't work for me with your image also... :(
>
> Something is wrong then - unless you're not looking at the right speed?
> 115200 baud.
>
> Note that that image I gave you will not send out much on serial, I reduced
> the coreboot log level because the alix.2c3 does not have a cmos battery
> and thus will always default to the hardcoded log level when powered on -
> and that's set to SPEW right now in the buildrom version. But you should
> see some output, and then a very quick jump to filo.
>
> Now - if your grub.list file on disk does not specify serial, you might not
> see filo on serial either. Does it?

I can boot my kernel with your image, that's fine (I can see bios, filo and 
kernel messages), but as soon as init starts there is no serial console 
anymore. Very strange. But at the same time no problem with native bios...
(Continue reading)

Ward Vandewege | 10 Oct 18:52
Gravatar

Re: alix.2c3 stops at mainboard_pre_payload: done

On Fri, Oct 10, 2008 at 07:35:09PM +0300, Roman Yeryomin wrote:
> > Note that that image I gave you will not send out much on serial, I reduced
> > the coreboot log level because the alix.2c3 does not have a cmos battery
> > and thus will always default to the hardcoded log level when powered on -
> > and that's set to SPEW right now in the buildrom version. But you should
> > see some output, and then a very quick jump to filo.
> >
> > Now - if your grub.list file on disk does not specify serial, you might not
> > see filo on serial either. Does it?
> 
> I can boot my kernel with your image, that's fine (I can see bios, filo and 
> kernel messages), but as soon as init starts there is no serial console 
> anymore. Very strange. But at the same time no problem with native bios...

Ah! Now we are talking. So your serial works until you hit init.

That is a bit odd. It's entirely possible that coreboot is not doing
something that busybox requires, but that is not required by init/(m)getty on
debian. I'm not sure what that would be though :/

Thanks,
Ward.

--

-- 
Ward Vandewege <ward <at> fsf.org>
Free Software Foundation - Senior Systems Administrator

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot
(Continue reading)

ron minnich | 10 Oct 19:08

Re: alix.2c3 stops at mainboard_pre_payload: done

On Fri, Oct 10, 2008 at 9:52 AM, Ward Vandewege <ward <at> gnu.org> wrote:

> That is a bit odd. It's entirely possible that coreboot is not doing
> something that busybox requires, but that is not required by init/(m)getty on
> debian. I'm not sure what that would be though :/
>

interrupt setup?

ron

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Ward Vandewege | 10 Oct 14:47
Gravatar

Re: alix.2c3 stops at mainboard_pre_payload: done

On Fri, Oct 10, 2008 at 10:04:45AM +0300, Roman Yeryomin wrote:
> On Thu, Oct 9, 2008 at 11:23 PM, Ward Vandewege <ward <at> gnu.org> wrote:
> > On Thu, Oct 09, 2008 at 10:20:29PM +0200, Peter Stuge wrote:
> >> Roman Yeryomin wrote:
> >> > >> what could be the problem?
> >> > >
> >> > > My 1c has the serial port on a superio chip. I recognize this
> >> > > problem from other boards. I also have a 3c3 where I saw this
> >> > > before I fried the 5536 ATA driver.
> >> >
> >> > Sorry didn't understand what you actually mean here... that I have
> >> > fried my hardware?
> >>
> >> Sorry! No not at all!
> >>
> >> The serial port on alix1c is on the Winbond superio chip. The alix2
> >> and 3 boards do not have this superio chip and their serial port is
> >> connected directly to the 5536 - and this is probably the reason that
> >> serial doesn't work anymore.
> >
> > I don't understand - serial works fine for me on the 2c3. Getting serial to
> > work was in fact the 'hardest' part of doing the 2c3 port based on the .1c
> > code, because of the absense of the winbond superio chip. It required all of
> > changing a few lines of code :)
> >
> 
> that image you gave me.. serial works with it for you, right? (I didn't check)

Yes, it does work for me. At 115200n8 of course. Note that the alix ships
with tinybios set to a (much) lower speed.
(Continue reading)

Roman Yeryomin | 10 Oct 18:17

Re: alix.2c3 stops at mainboard_pre_payload: done

On Friday 10 October 2008 15:47:22 Ward Vandewege wrote:
> On Fri, Oct 10, 2008 at 10:04:45AM +0300, Roman Yeryomin wrote:
> > On Thu, Oct 9, 2008 at 11:23 PM, Ward Vandewege <ward <at> gnu.org> wrote:
> > > On Thu, Oct 09, 2008 at 10:20:29PM +0200, Peter Stuge wrote:
> > >> Roman Yeryomin wrote:
> > >> > >> what could be the problem?
> > >> > >
> > >> > > My 1c has the serial port on a superio chip. I recognize this
> > >> > > problem from other boards. I also have a 3c3 where I saw this
> > >> > > before I fried the 5536 ATA driver.
> > >> >
> > >> > Sorry didn't understand what you actually mean here... that I have
> > >> > fried my hardware?
> > >>
> > >> Sorry! No not at all!
> > >>
> > >> The serial port on alix1c is on the Winbond superio chip. The alix2
> > >> and 3 boards do not have this superio chip and their serial port is
> > >> connected directly to the 5536 - and this is probably the reason that
> > >> serial doesn't work anymore.
> > >
> > > I don't understand - serial works fine for me on the 2c3. Getting
> > > serial to work was in fact the 'hardest' part of doing the 2c3 port
> > > based on the .1c code, because of the absense of the winbond superio
> > > chip. It required all of changing a few lines of code :)
> >
> > that image you gave me.. serial works with it for you, right? (I didn't
> > check)
>
> Yes, it does work for me. At 115200n8 of course. Note that the alix ships
(Continue reading)

Ward Vandewege | 10 Oct 18:33
Gravatar

Re: alix.2c3 stops at mainboard_pre_payload: done

On Fri, Oct 10, 2008 at 07:17:48PM +0300, Roman Yeryomin wrote:
> > Yes, it does work for me. At 115200n8 of course. Note that the alix ships
> > with tinybios set to a (much) lower speed.
> 
> yes, I know, it's 38400, but I use 115200 for your image -- it's hard not to 
> notice this :)

OK, cool, just making sure.

> > > also what kind of linux distribution you have? does it work with busybox
> > > also?
> >
> > I use voyage linux (http://linux.voyage.hk), which is basically Debian +
> > some specifics for embedded systems. It specifically supports alix, and it
> > really easy to install onto a CF card from your pc.
> 
> hmm... will look at it
> I suppose it uses busybox too, right?

No - it's a full-blown debian.

> Can you post your `cat /proc/cmdline` and /etc/inittab (if it's set to use 
> one)?

Sure:

# cat /proc/cmdline 
root=LABEL=ROOT_FS console=ttyS0,115200n8

and from inittab, this is the relevant line:
(Continue reading)

Roman Yeryomin | 10 Oct 18:51

Re: alix.2c3 stops at mainboard_pre_payload: done

On Friday 10 October 2008 19:33:39 Ward Vandewege wrote:
> > > I use voyage linux (http://linux.voyage.hk), which is basically Debian
> > > + some specifics for embedded systems. It specifically supports alix,
> > > and it really easy to install onto a CF card from your pc.
> >
> > hmm... will look at it
> > I suppose it uses busybox too, right?
>
> No - it's a full-blown debian.
>
> T0:23:respawn:/sbin/getty -L ttyS0 115200

!
I should try getty from busybox (I use /bin/login now)... Maybe the problem is 
there. I'll build new linux image and let you know.
Thanks for hint ;)

Roman

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Peter Stuge | 10 Oct 19:16

Re: alix.2c3 stops at mainboard_pre_payload: done

Roman Yeryomin wrote:
> > T0:23:respawn:/sbin/getty -L ttyS0 115200
> 
> I should try getty from busybox (I use /bin/login now)...

Here's what I use:

s0:12345:respawn:/sbin/agetty -n -l /bin/bash 115200 ttyS0 ansi

(that way, no login prompt)

//Peter

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Roman Yeryomin | 10 Oct 20:36

Re: alix.2c3 stops at mainboard_pre_payload: done

On Fri, Oct 10, 2008 at 8:16 PM, Peter Stuge <peter <at> stuge.se> wrote:
> Roman Yeryomin wrote:
>> > T0:23:respawn:/sbin/getty -L ttyS0 115200
>>
>> I should try getty from busybox (I use /bin/login now)...
>
> Here's what I use:
>
> s0:12345:respawn:/sbin/agetty -n -l /bin/bash 115200 ttyS0 ansi
>
> (that way, no login prompt)

Well, I do need login :)

so..
ttyS0::respawn:/sbin/getty -L ttyS0 38400
work just fine with coreboot and busybox

It's now obvious that somebody (coreboot or busybox's /bin/login) not
doing something...
Where this issue should be addressed?

Roman

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Roman Yeryomin | 10 Oct 21:26

Re: alix.2c3 stops at mainboard_pre_payload: done

On Fri, Oct 10, 2008 at 9:36 PM, Roman Yeryomin <leroi.lists <at> gmail.com> wrote:
> On Fri, Oct 10, 2008 at 8:16 PM, Peter Stuge <peter <at> stuge.se> wrote:
>> Roman Yeryomin wrote:
>>> > T0:23:respawn:/sbin/getty -L ttyS0 115200
>>>
>>> I should try getty from busybox (I use /bin/login now)...
>>
>> Here's what I use:
>>
>> s0:12345:respawn:/sbin/agetty -n -l /bin/bash 115200 ttyS0 ansi
>>
>> (that way, no login prompt)
>
> Well, I do need login :)
>
> so..
> ttyS0::respawn:/sbin/getty -L ttyS0 38400
> work just fine with coreboot and busybox
>
> It's now obvious that somebody (coreboot or busybox's /bin/login) not
> doing something...
> Where this issue should be addressed?
>

damn... no, it doesn't work -- I simply forgot to take off LPC dongle...
arhhhhhh...

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot
(Continue reading)

ron minnich | 11 Oct 00:26

Re: alix.2c3 stops at mainboard_pre_payload: done

On Fri, Oct 10, 2008 at 11:36 AM, Roman Yeryomin <leroi.lists <at> gmail.com> wrote:

> It's now obvious that somebody (coreboot or busybox's /bin/login) not
> doing something...
> Where this issue should be addressed?
>

OK, there was for some time a weird problem in linux w.r.t. com ports.
This was years ago. I barely remember it. But setup on com ports would
fail if some hardware setting was not quite right. This problem you
are having sure sounds like that old problem.

Can you test a different version of login?

ron

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

ron minnich | 8 Oct 01:22

Re: alix.2c3 stops at mainboard_pre_payload: done

can you build filo to ONLY use serial port and let us know how that goes?

ron

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Roman Yeryomin | 8 Oct 11:47

Re: alix.2c3 stops at mainboard_pre_payload: done

On Wednesday 08 October 2008 02:22:49 ron minnich wrote:
> can you build filo to ONLY use serial port and let us know how that goes?

how do I do that? maybe you mean libpayload?

my config (r64) is:

CONFIG_TARGET_I386=y
# CONFIG_REVIEW is not set

#
# Interface Options
#
# CONFIG_USE_GRUB is not set
CONFIG_USE_AUTOBOOT=y
CONFIG_AUTOBOOT_FILE="hda1:/vmlinuz root=/dev/hda1 console=tty0 
console=ttyS0,38400"
CONFIG_AUTOBOOT_DELAY=5

#
# Drivers
#
CONFIG_IDE_DISK=y
CONFIG_IDE_DISK_POLL_DELAY=0
# CONFIG_SLOW_SATA is not set
# CONFIG_PCMCIA_CF is not set
# CONFIG_USB_NEW_DISK is not set
# CONFIG_USB_DISK is not set
CONFIG_FLASH_DISK=y
CONFIG_SUPPORT_PCI=y
(Continue reading)

Ward Vandewege | 8 Oct 02:15
Gravatar

Re: alix.2c3 stops at mainboard_pre_payload: done

Hi Roman,

On Wed, Oct 08, 2008 at 01:26:01AM +0300, Mail Lists wrote:
> Don't know what this actually means.
> Did anybody have this kind of problem? Is there any know-how to make
> it work? Or does it actually work at all?

It does work. I have two alix.2c3's in production with coreboot. I used
buildrom to build the images. Try that first maybe?

Thanks,
Ward.

--

-- 
Ward Vandewege <ward <at> fsf.org>
Free Software Foundation - Senior Systems Administrator

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Roman Yeryomin | 8 Oct 11:50

Re: alix.2c3 stops at mainboard_pre_payload: done

On Wednesday 08 October 2008 03:15:29 Ward Vandewege wrote:
> Hi Roman,
>
> On Wed, Oct 08, 2008 at 01:26:01AM +0300, Mail Lists wrote:
> > Don't know what this actually means.
> > Did anybody have this kind of problem? Is there any know-how to make
> > it work? Or does it actually work at all?
>
> It does work. I have two alix.2c3's in production with coreboot. I used
> buildrom to build the images. Try that first maybe?

Hmm... didn't notice this tool
Will try for sure today!
Thanks for hint!

Roman

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Roman Yeryomin | 9 Oct 17:15

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thursday 09 October 2008 16:46:00 Peter Stuge wrote:
> > what versions/revisions people with working alix.2c3 use?
>
> I'm using FILO r49 or r52 and v3 r909.
>
> Maybe you can try building v3 with the ELF loader enabled and a few
> different payloads without using preparsing?
>

ok, I will try again from scratch few hours later and let you know

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

ron minnich | 9 Oct 17:40

Re: alix.2c3 stops at mainboard_pre_payload: done

On Thu, Oct 9, 2008 at 8:18 AM, Roman Yeryomin <leroi.lists <at> gmail.com> wrote:
> On Thursday 09 October 2008 16:46:00 Peter Stuge wrote:
>> > what versions/revisions people with working alix.2c3 use?
>>
>> I'm using FILO r49 or r52 and v3 r909.
>>
>> Maybe you can try building v3 with the ELF loader enabled and a few
>> different payloads without using preparsing?
>>
>
> ok, I will try again from scratch few hours later and let you know
>

I will say, long term, that you want elf preparsing to work.

ron

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Gmane