[coreboot] compiling error with fsp_baytrail's asl code

Paul Menzel paulepanter at users.sourceforge.net
Wed Jun 4 09:02:35 CEST 2014


Dear Tank,


Am Mittwoch, den 04.06.2014, 09:55 +0800 schrieb jstkf2012 at 126.com:

>         There is something wrong with fsp_baytrail's asl code, as shown below:
>           "dsdt.ramstage.asl 24: Store (0, TRP0)
> Error 4064 - Object does not exist ^ (TRP0)
> 
> dsdt.ramstage.asl 970: FixedDMA (0x10, 0x0, Width32Bit, )
> Error 4096 - ^ syntax error, unexpected PARSEOP_NAMESEG
> 
> dsdt.ramstage.asl 1018: FixedDMA (0x10, 0x0, Width32Bit, )
> Error 4096 - ^ syntax error, unexpected PARSEOP_NAMESEG
> 
> dsdt.ramstage.asl 1066: FixedDMA (0x10, 0x0, Width32Bit, )
> Error 4096 - ^ syntax error, unexpected PARSEOP_NAMESEG
> 
> dsdt.ramstage.asl 1071: CreateDwordField (^RBUF, ^BAR0._BAS, RBAS)
> Error 4065 - ^ Object not found or not accessible from scope (^RBUF)
> 
> dsdt.ramstage.asl 1071: CreateDwordField (^RBUF, ^BAR0._BAS, RBAS)
> Error 4065 - ^ Object not found or not accessible from scope (^BAR0._BAS)
> 
> dsdt.ramstage.asl 1073: Return (^RBUF)
> Error 4065 - ^ Object not found or not accessible from scope (^RBUF)
> 
> dsdt.ramstage.asl 1114: FixedDMA (0x10, 0x0, Width32Bit, )
> Error 4096 - ^ syntax error, unexpected PARSEOP_NAMESEG
> 
> dsdt.ramstage.asl 1119: CreateDwordField (^RBUF, ^BAR0._BAS, RBAS)
> Error 4065 - ^ Object not found or not accessible from scope (^RBUF)
> 
> dsdt.ramstage.asl 1119: CreateDwordField (^RBUF, ^BAR0._BAS, RBAS)
> Error 4065 - ^ Object not found or not accessible from scope (^BAR0._BAS)
> 
> dsdt.ramstage.asl 1121: Return (^RBUF)
> Error 4065 - ^ Object not found or not accessible from scope (^RBUF)
> 
> dsdt.ramstage.asl 1148: Device }
> Error 4096 - ^ syntax error, unexpected PARSEOP_DEVICE, expecting $end

Which version of the ASL compiler iasl do you use?

Probably it is the same problem, I had, that it is too old [1].

Please build coreboot’s reference toolchain with `make crossgcc`, which
will take some time. To avoid building the toolchain for ARM, you can do
the following.

        $ cd util/crossgcc
        $ make build-i386


Thanks,

Paul


PS: Please just send plain text messages to mailing lists and no HTML.


[1] http://review.coreboot.org/5792/
    Comment from May 26 11:01 PM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20140604/b8df5f0d/attachment.asc>


More information about the coreboot mailing list