I created a new source code tree for only one motherboard, ASUS, MEW_AM. There is no build/bootblock folder and CONFIG_TINY_BOOTBLOCK and CONFIG_BOOTBLOCK_SIMPLE are not set. What is the difference between tiny and big boot block? My second question is that the code of bootblock is copied to romstage too. I mean we have a duplicate code in two different components. Is that right?
* ali hagigat hagigatali@gmail.com [110301 09:58]:
What is the difference between tiny and big boot block?
In big boot block mode, romstage (and thus ram init) is part of the boot block. In tiny boot block mode, romstage is an extra file in CBFS.
My second question is that the code of bootblock is copied to romstage too. I mean we have a duplicate code in two different components. Is that right?
That might be a mistake. Where did you see that?
Stefan
I think i made a mistake. In big boot block, bootblock code is written once for coreboot.pre and the same is for tiny boot block. My source of confusion was the inclusion of the bootblock code in crt0. Regards
On Wed, Mar 2, 2011 at 3:47 AM, Stefan Reinauer stefan.reinauer@coreboot.org wrote:
- ali hagigat hagigatali@gmail.com [110301 09:58]:
What is the difference between tiny and big boot block?
In big boot block mode, romstage (and thus ram init) is part of the boot block. In tiny boot block mode, romstage is an extra file in CBFS.
My second question is that the code of bootblock is copied to romstage too. I mean we have a duplicate code in two different components. Is that right?
That might be a mistake. Where did you see that?
Stefan