[coreboot] [PATCH] Temporary libpayload fixes for flashrom as a payload
Signed-off-by: Tadas Slotkus --- payloads/libpayload/drivers/serial.c|2 +- payloads/libpayload/include/libpayload.h|1 + payloads/libpayload/lib/libpayload.ldscript |4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/payloads/libpayload/drivers/serial.c b/payloads/libpayload/drivers/serial.c index 0674ec8..9ee9051 100644 --- a/payloads/libpayload/drivers/serial.c +++ b/payloads/libpayload/drivers/serial.c @@ -195,7 +195,7 @@ int serial_getchar(void) /* A vt100 doesn't do color, setaf/setab below are from xterm-color. */ #define VT100_SET_COLOR "\e[3%d;4%dm" -static void serial_putcmd(char *str) +void serial_putcmd(char *str) { while(*str) serial_putchar(*(str++)); diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 74fb79a..3564898 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -154,6 +154,7 @@ int keyboard_set_layout(char *country); */ void serial_init(void); void serial_putchar(unsigned int c); +void serial_putcmd(char *str); int serial_havechar(void); int serial_getchar(void); void serial_clear(void); diff --git a/payloads/libpayload/lib/libpayload.ldscript b/payloads/libpayload/lib/libpayload.ldscript index 830a390..68c9079 100644 --- a/payloads/libpayload/lib/libpayload.ldscript +++ b/payloads/libpayload/lib/libpayload.ldscript @@ -34,8 +34,8 @@ OUTPUT_ARCH(i386) ENTRY(_entry) -HEAP_SIZE = 16384; -STACK_SIZE = 16384; +HEAP_SIZE = 816384; +STACK_SIZE = 216384; SECTIONS { -- 1.7.0.4 -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] looking for coreboot snapshots
Stefan Tauner wrote: ]> Hello, ]> ]> Is there a way to download an archived snapshot of recent coreboot source ]> code? ] ]gitweb can create snapshots on the fly. ]i am not sure if the gitweb integration is completed so YMMV. ]http://review.coreboot.org/gitweb?p=coreboot.git;a=summary Hello Stefan, Thanks, this is perfect. Thanks, Scott -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] looking for coreboot snapshots
On Sat, 11 Jun 2011 13:09:43 +0200, Stefan Tauner wrote: gitweb can create snapshots on the fly. i am not sure if the gitweb integration is completed so YMMV. http://review.coreboot.org/gitweb?p=coreboot.git;a=summary Should work. If not, that's a bug. Patrick -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
[coreboot] First thought on how to porting coreboot to ARM, comments are very welcome
Dear lists, First of all, let me say thanks to Stefan for his patch and help on porting. Without his patch, I couldn't figure out what shall I do and what to do with CBFS on ARM. Following is the first thought on how to implement it, justing using qemu-arm (versatilepb) as an example. After power on, At 0x0, start execution at reset from src/cpu/arm/arm926ejs/start.S. It will simply jump to the actual start code. Following, it will set CPU to SVC32 mode and do some basic setup then go toboard-specific lowlevel_init function to init the ram. After that, ram is ready to use. Because it is easier initing ram than X86, no romstage needed. After set the sp pointer, we move to CBFS and find the ramstage then move it to ram and run it. We do some init in ramstage and then move to payload. src/mainboard/emulation/qemu-arm will be the dir for this board. In this dir, Kconfig will set some configs for this board, including CPU and its variant type, rambase address of this board and so on. lowlevel.S will be the place where ram and console init code placed. src/arch/arm will be the key dir that holds arm-specific lib, headers and Makefile just like X86's. src/cpu/arm/arm926ejs is for all cpu that uses arm926ejs core. CPU variant will be a subdir under this dir and holding CPU variant-specific lib and headers. Thanks, Hamo -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] looking for coreboot snapshots
On Fri, 10 Jun 2011 14:34:28 -0500 "Scott Duplichan" wrote: > Hello, > > Is there a way to download an archived snapshot of recent coreboot source > code? gitweb can create snapshots on the fly. i am not sure if the gitweb integration is completed so YMMV. http://review.coreboot.org/gitweb?p=coreboot.git;a=summary -- Kind regards/Mit freundlichen Grüßen, Stefan Tauner -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot