[coreboot] buildrom

Myles Watson mylesgw at gmail.com
Mon Jun 2 17:26:44 CEST 2008


2008/6/2 qchwu <qchwu at 163.com>:
> I build a rom for ADM DB800. One error appear as following:
>
> [root at localhost buildrom-devel]# make
> Unpacking mkelfimage...
> Patching mkelfimage...
> Applying patch mkelfImage-2.7-x86_64.patch
> Applying patch mkelfimage-autoconf.patch
> Now at patch mkelfimage-autoconf.patch
> Building mkelfImage...
> Building unifdef (host)...
> Building lzma...
> Unpacking kernel (2.6.20.2)...
> Patching kernel...
> Building kernel...
> Installing kernel headers...
> Building the ELF payload...
> Compressing the ELF payload with lzma...
> ******************
> Payload takes 1508825 Bytes (1473 KBytes) in ROM:
> ******************
> Unpacking coreboot (coreboot-svn-3335.tar.gz)...
> Patching coreboot...
> Building target...
> /bin/sh: line 0: cd:
> /bios/buildrom/buildrom-devel/work/coreboot/svn/targets/: 没有那个文件或目录
> make: ***
> [/bios/buildrom/buildrom-devel/work/coreboot/stamps/.configured-db800] 错误
> 127

When I try to build a compressed payload for DB800, I get an error
because it can't find Config-lab.lb.  Here are the steps you should
take:

1. Create a Config-lab.lb in work/coreboot/svn/targets/amd/db800/
which sets ROM_SIZE correctly for the chip you have.
2. Make sure you build a payload that fits in the chip ( Your lab
payload above needs at least a 2MB (16 Mbit) chip.
3. Try it again.

Thanks,
Myles

> [root at localhost buildrom-devel]#
>
> How can i clear this error?
>
> My gcc'version is 4.2.2.
> kernel'version is 2.6.18
> make'version is 3.81
>
> thanks!
> chenghu
>
>
>
>
> ________________________________
> 买二手房挑专业经纪人
> --
> coreboot mailing list
> coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
>


More information about the coreboot mailing list