Re: [U-Boot] [PATCH v2 1/5] x86: Remove eNET boards

2013-02-15 Thread Gabe Black
Acked-by: Gabe Black gabebl...@chromium.org On Thu, Feb 14, 2013 at 6:18 AM, Simon Glass s...@chromium.org wrote: These are no longer used and should be removed. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Graeme Russ graeme.r...@gmail.com --- Changes in v2: None board/eNET

Re: [U-Boot] [PATCH v2 4/5] x86: Rename CONFIG_NO_X86_RESET_VECTOR to CONFIG_X86_RESET_VECTOR

2013-02-14 Thread Gabe Black
Acked-by: Gabe Black gabebl...@chromium.org On Thu, Feb 14, 2013 at 6:18 AM, Simon Glass s...@chromium.org wrote: Invert the polarity of this option to simplify the Makefile logic. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to invert

Re: [U-Boot] [PATCH v2 3/5] x86: Remove unneeded cruft from main Makefile

2013-02-14 Thread Gabe Black
Acked-by: Gabe Black gabebl...@chromium.org On Thu, Feb 14, 2013 at 6:18 AM, Simon Glass s...@chromium.org wrote: These lines are dealt with in the x86 Makefile and link script, so punt them. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to tidy up main

Re: [U-Boot] Googlers please reply: commiters in U-Boot

2013-01-12 Thread Gabe Black
On Sat, Jan 12, 2013 at 9:20 AM, Simon Glass s...@chromium.org wrote: Hi, You are being copied because you have written U-Boot code which is now in mainline. The chromium.org domain does not automatically attribute U-Boot commits by company. Each author needs to be manually added to the

Re: [U-Boot] [PATCH 1/9] x86: Change board baud_rate to ulong

2012-10-03 Thread Gabe Black
Acked-by: Gabe Black gabebl...@chromium.org ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/9] x86: Add initial memory barrier macros

2012-10-03 Thread Gabe Black
Acked-by: Gabe Black gabebl...@chromium.org ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 5/9] x86: coreboot: Move non-board specific files to coreboot arch directory

2012-10-03 Thread Gabe Black
Acked-by: Gabe Black gabebl...@chromium.org ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 7/9] x86: coreboot: Modify u-boot code to allow building coreboot payload

2012-10-03 Thread Gabe Black
Acked-by: Gabe Black gabebl...@chromium.org ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 9/9] x86: coreboot: Enable LPC TPM and CONFIG_NO_RESET_CODE

2012-10-03 Thread Gabe Black
Acked-by: Gabe Black gabebl...@chromium.org ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3] Add a CBFS driver and commands to u-boot

2011-12-07 Thread Gabe Black
On Wed, Dec 7, 2011 at 3:03 AM, Wolfgang Denk w...@denx.de wrote: Dear Gabe Black, In message 1323214584-11635-1-git-send-email-gabebl...@chromium.org you wrote: Coreboot uses a very simple file system called CBFS to keep track of and allow access to multiple files in a ROM image

Re: [U-Boot] [PATCH v2] Add a CBFS driver and commands to u-boot

2011-12-06 Thread Gabe Black
On Tue, Dec 6, 2011 at 3:01 AM, Wolfgang Denk w...@denx.de wrote: Dear Gabe Black, In message 1323134730-18471-1-git-send-email-gabebl...@chromium.org you wrote: Coreboot uses a very simple file system called CBFS to keep track of and allow access to multiple files in a ROM image

[U-Boot] [PATCH v3] Add a CBFS driver and commands to u-boot

2011-12-06 Thread Gabe Black
is specified. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: Fix checkpatch problems, change around identifiers, and change printf to puts where possible. Changes in v3: Formatting changes, Unknown = Unknown error, Makefile sorting, fix a typo. Makefile |6 +- README

[U-Boot] [PATCH v3 3/6] x86: Add support for booting Linux using the 32 bit boot protocol

2011-12-05 Thread Gabe Black
This change conditionally modifies the zboot command so that it can use the 32 bit boot protocol. This is necessary because the 16 bit realmode entry point assumes that it can call BIOS services which neither coreboot nor u-boot provide. Signed-off-by: Gabe Black gabebl...@chromium.org

[U-Boot] [PATCH v3 6/6] x86: Add support for specifying an initrd with the zboot command

2011-12-05 Thread Gabe Black
This change finishes plumbing the initrd support built into the zboot mechanism out to the command interface. It also fixes a bug in the command declaration where the kernel size could be passed as an optional second parameter but not enough arguments were allowed. Signed-off-by: Gabe Black

[U-Boot] [PATCH v3 1/6] x86: Import code from coreboot's libpayload to parse the coreboot table

2011-12-05 Thread Gabe Black
be appropriate, but we need some information from the coreboot tables (memory size) before then and have to fill that structure before relocation. We skirt u-boot's assumption by putting this in .data where it assumes there is still read only but non-zero data. Signed-off-by: Gabe Black gabebl...@chromium.org

[U-Boot] [PATCH v3 2/6] x86: Clean up the x86 zimage code in preparation to extend it

2011-12-05 Thread Gabe Black
This change cleans up some formatting issues in the zimage handling code, and converts it from using offsets added to a base pointer to using the available structure definitions which were already being included. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: - Changed

[U-Boot] [PATCH v3 0/6] Add support for the 32 bit boot protocol and coreboot table parsing.

2011-12-05 Thread Gabe Black
into a different patch. - Moved the coreboot specific e820 function into this patch. - Add a help message to the zboot command. Changes in v3: - Moved the coreboot specific e820 function declaration out of the header. - Moved the coreboot specific e820 function declaration into this patch. Gabe Black (6

[U-Boot] [PATCH] x86: Set up the PCI busses when initializing the coreboot board

2011-12-05 Thread Gabe Black
of it. A hook is installed to configure PCI bus bridges as they encountered by u-boot. The hook extracts the secondary bus number from the bridge's config space and then recursively scans that bus. Signed-off-by: Gabe Black gabebl...@chromium.org --- board/chromebook-x86/coreboot/coreboot_pci.c | 33

[U-Boot] [PATCH v3 4/6] x86: Add infrastructure to extract an e820 table from the coreboot tables

2011-12-05 Thread Gabe Black
Also approximate the size of RAM using the largest RAM address available in the tables. There may be areas which are marked as reserved which are actually at the end of RAM. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: - Moved the coreboot specific e820 function

[U-Boot] [PATCH v3 5/6] x86: Refactor the zboot innards so they can be reused with a vboot image

2011-12-05 Thread Gabe Black
protocol, where to put the command line is a now a parameter instead of being hard coded. Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/include/asm/zimage.h |8 +- arch/x86/lib/bootm.c | 21 +++-- arch/x86/lib/zimage.c | 183

Re: [U-Boot] [PATCH v2 4/6] x86: Add infrastructure to extract an e820 table from the coreboot tables

2011-12-05 Thread Gabe Black
On Sat, Dec 3, 2011 at 4:52 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, Last nit, I promise, and then I'll apply it all to u-boot-x86/next +/* Implementation defined function to install an e820 map. */ +unsigned install_e820_map(unsigned max_entries, struct e820entry *); +

Re: [U-Boot] [PATCH] Add a CBFS driver and commands to u-boot

2011-12-05 Thread Gabe Black
On Mon, Dec 5, 2011 at 2:25 PM, Wolfgang Denk w...@denx.de wrote: Dear Gabe Black, In message 1322912821-32677-1-git-send-email-gabebl...@chromium.org you wrote: Coreboot uses a very simple file system called CBFS to keep track of and allow access to multiple files in a ROM image

Re: [U-Boot] [PATCH] Add a CBFS driver and commands to u-boot

2011-12-05 Thread Gabe Black
On Mon, Dec 5, 2011 at 2:35 PM, Gabe Black gabebl...@google.com wrote: On Mon, Dec 5, 2011 at 2:25 PM, Wolfgang Denk w...@denx.de wrote: Dear Gabe Black, In message 1322912821-32677-1-git-send-email-gabebl...@chromium.org you wrote: Coreboot uses a very simple file system called CBFS

[U-Boot] [PATCH v2] Add a CBFS driver and commands to u-boot

2011-12-05 Thread Gabe Black
is specified. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: Fix checkpatch problems, change around identifiers, and change printf to puts where possible. Makefile |6 +- README|1 + common/Makefile |1 + common/cmd_cbfs.c | 212

[U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree

2011-12-05 Thread Gabe Black
This change adds a pointer to the global data structure in x86 to point to the device tree. This mirrors an identical pointer in ARM. Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/include/asm/global_data.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH] x86: Add a default implementation for cleanup_before_linux.

2011-12-05 Thread Gabe Black
basis. Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/cpu/cpu.c|8 arch/x86/include/asm/u-boot-x86.h |1 + 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index 61d0b69..3a2a64a 100644

[U-Boot] [PATCH v2] x86: Add a pointer to the global data structure to point to the device tree

2011-12-05 Thread Gabe Black
This change adds a pointer to the global data structure in x86 to point to the device tree. This mirrors an identical pointer in ARM. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: Update the name of the pointer to what ARM is now using. arch/x86/include/asm/global_data.h

Re: [U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree

2011-12-05 Thread Gabe Black
On Mon, Dec 5, 2011 at 5:49 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On Tue, Dec 6, 2011 at 12:43 PM, Gabe Black gabebl...@chromium.org wrote: This change adds a pointer to the global data structure in x86 to point to the device tree. This mirrors an identical pointer in ARM

Re: [U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree

2011-12-05 Thread Gabe Black
On Mon, Dec 5, 2011 at 9:07 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On Tue, Dec 6, 2011 at 1:04 PM, Gabe Black gabebl...@chromium.org wrote: On Mon, Dec 5, 2011 at 5:49 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On Tue, Dec 6, 2011 at 12:43 PM, Gabe

Re: [U-Boot] [PATCH] x86: Add a default implementation for cleanup_before_linux.

2011-12-05 Thread Gabe Black
On Mon, Dec 5, 2011 at 9:04 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On Tue, Dec 6, 2011 at 12:55 PM, Gabe Black gabebl...@chromium.org wrote: This function provides an opportunity for some last minute cleanup and reconfiguration before control is handed over to Linux. It's

[U-Boot] [PATCH v2 6/6] x86: Add support for specifying an initrd with the zboot command

2011-12-03 Thread Gabe Black
This change finishes plumbing the initrd support built into the zboot mechanism out to the command interface. It also fixes a bug in the command declaration where the kernel size could be passed as an optional second parameter but not enough arguments were allowed. Signed-off-by: Gabe Black

[U-Boot] [PATCH v2 4/6] x86: Add infrastructure to extract an e820 table from the coreboot tables

2011-12-03 Thread Gabe Black
Also approximate the size of RAM using the largest RAM address available in the tables. There may be areas which are marked as reserved which are actually at the end of RAM. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: - Moved the coreboot specfic e820 function

[U-Boot] [PATCH v2 0/6] Add support for the 32 bit boot protocol and coreboot table parsing.

2011-12-03 Thread Gabe Black
into a different patch. - Moved the coreboot specfic e820 function into this patch. - Add a help message to the zboot command. Gabe Black (6): x86: Import code from coreboot's libpayload to parse the coreboot table x86: Clean up the x86 zimage code in preparation to extend it x86: Add support

[U-Boot] [PATCH v2 5/6] x86: Refactor the zboot innards so they can be reused with a vboot image

2011-12-03 Thread Gabe Black
protocol, where to put the command line is a now a parameter instead of being hard coded. Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/include/asm/zimage.h |8 +- arch/x86/lib/bootm.c | 21 +++-- arch/x86/lib/zimage.c | 183

[U-Boot] [PATCH v2 2/6] x86: Clean up the x86 zimage code in preparation to extend it

2011-12-03 Thread Gabe Black
This change cleans up some formatting issues in the zimage handling code, and converts it from using offsets added to a base pointer to using the available structure definitions which were already being included. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: - Changed

[U-Boot] [PATCH v2 3/6] x86: Add support for booting Linux using the 32 bit boot protocol

2011-12-03 Thread Gabe Black
This change conditionally modifies the zboot command so that it can use the 32 bit boot protocol. This is necessary because the 16 bit realmode entry point assumes that it can call BIOS services which neither coreboot nor u-boot provide. Signed-off-by: Gabe Black gabebl...@chromium.org

[U-Boot] [PATCH v2 1/6] x86: Import code from coreboot's libpayload to parse the coreboot table

2011-12-03 Thread Gabe Black
be appropriate, but we need some information from the coreboot tables (memory size) before then and have to fill that structure before relocation. We skirt u-boot's assumption by putting this in .data where it assumes there is still read only but non-zero data. Signed-off-by: Gabe Black gabebl...@chromium.org

[U-Boot] [PATCH] Add a CBFS driver and commands to u-boot

2011-12-03 Thread Gabe Black
is specified. Signed-off-by: Gabe Black gabebl...@chromium.org --- Makefile |6 +- README|1 + common/Makefile |1 + common/cmd_cbfs.c | 212 fs/Makefile |1 + fs/cbfs/Makefile | 44 +++ fs/cbfs/cbfs.c| 351

Re: [U-Boot] [PATCH 4/4] x86: Add infrastructure to extract an e820 table from the coreboot tables

2011-12-02 Thread Gabe Black
On Fri, Dec 2, 2011 at 1:14 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On 30/11/11 17:07, Gabe Black wrote: Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/cpu/coreboot/sdram.c | 32 ++-- arch/x86/include/asm/zimage.h |5

Re: [U-Boot] [PATCH 3/4] x86: Force the lib_sysinfo structure to be in the .data section

2011-12-02 Thread Gabe Black
On Fri, Dec 2, 2011 at 1:22 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On 03/12/11 08:16, Gabe Black wrote: On Fri, Dec 2, 2011 at 1:10 PM, Graeme Russ graeme.r...@gmail.com mailto:graeme.r...@gmail.com wrote: Hi Gabe, On 30/11/11 17:07, Gabe Black wrote

Re: [U-Boot] [PATCH 3/4] x86: Force the lib_sysinfo structure to be in the .data section

2011-12-02 Thread Gabe Black
On Fri, Dec 2, 2011 at 1:10 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On 30/11/11 17:07, Gabe Black wrote: Otherwise it ends up in the .bss section. U-boot assumes that it doesn't need to copy it over during relocation, and instead fills that whole section with zeroes. If we

Re: [U-Boot] [PATCH 3/4] x86: Refactor the zboot innards so they can be reused with a vboot image

2011-12-02 Thread Gabe Black
On Fri, Dec 2, 2011 at 1:43 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On 30/11/11 20:17, Gabe Black wrote: If vboot successfully verifies a kernel, it will leave it in place and basically ready to boot. The zeropage table which is part of the x86 boot protocol is at the end

Re: [U-Boot] [PATCH 0/2] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-12-01 Thread Gabe Black
On Thu, Dec 1, 2011 at 7:47 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On 30/11/11 17:25, Gabe Black wrote: On Tue, Nov 29, 2011 at 7:48 PM, Graeme Russ graeme.r...@gmail.com mailto:graeme.r...@gmail.com wrote: Hi Gabe, On Wed, Nov 30, 2011 at 2:11 PM, Gabe

[U-Boot] [PATCH 3/4] x86: Refactor the zboot innards so they can be reused with a vboot image

2011-11-30 Thread Gabe Black
protocol, where to put the command line is a now a parameter instead of being hard coded. Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/include/asm/zimage.h |8 +- arch/x86/lib/bootm.c | 21 +++-- arch/x86/lib/zimage.c | 183

[U-Boot] [PATCH 0/4] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-11-30 Thread Gabe Black
These four patches add support for the 32 bit Linux boot protocol to the zboot command. They also add support for an initrd. Gabe Black (4): x86: Clean up the x86 zimage code in preparation to extend it x86: Add support for booting Linux using the 32 bit boot protocol x86: Refactor

[U-Boot] [PATCH 2/4] x86: Add support for booting Linux using the 32 bit boot protocol

2011-11-30 Thread Gabe Black
This change conditionally modifies the zboot command so that it can use the 32 bit boot protocol. This is necessary because the 16 bit realmode entry point assumes that it can call BIOS services which neither coreboot nor u-boot provide. Signed-off-by: Gabe Black gabebl...@chromium.org --- arch

[U-Boot] [PATCH 1/4] x86: Clean up the x86 zimage code in preparation to extend it

2011-11-30 Thread Gabe Black
This change cleans up some formatting issues in the zimage handling code, and converts it from using offsets added to a base pointer to using the available structure definitions which were already being included. Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/include/asm/zimage.h

[U-Boot] [PATCH 4/4] x86: Add support for specifying an initrd with the zboot command

2011-11-30 Thread Gabe Black
This change finishes plumbing the initrd support built into the zboot mechanism out to the command interface. It also fixes a bug in the command declaration where the kernel size could be passed as an optional second parameter but not enough arguments were allowed. Signed-off-by: Gabe Black

Re: [U-Boot] [PATCH v2] [driver][cfb] Make the software cursor non-destructive

2011-11-30 Thread Gabe Black
On Wed, Nov 9, 2011 at 5:31 PM, Mike Frysinger vap...@gentoo.org wrote: i don't know the video code all that well, but i don't see anything wrong with this patch ... Acked-by: Mike Frysinger vap...@gentoo.org -mike Bump. ___ U-Boot mailing list

Re: [U-Boot] [PATCH 0/4] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-11-30 Thread Gabe Black
On Wed, Nov 30, 2011 at 4:13 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On 30/11/11 20:17, Gabe Black wrote: These four patches add support for the 32 bit Linux boot protocol to the zboot command. They also add support for an initrd. Gabe Black (4): x86: Clean up

Re: [U-Boot] [PATCH] x86: Turn on support for EFI's GPT in the coreboot config

2011-11-29 Thread Gabe Black
No, that would be fine. Gabe On Tue, Nov 29, 2011 at 2:58 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On 29/11/11 17:57, Gabe Black wrote: This allows u-boot to figure out the partitions of a chrome-os install. Signed-off-by: Gabe Black gabebl...@chromium.org --- include

Re: [U-Boot] [PATCH] x86: Turn on support for EFI's GPT in the coreboot config

2011-11-29 Thread Gabe Black
Black gabebl...@google.com wrote: No, that would be fine. OK, can you send an updated patch - I'll apply it to u-boot-x86/next Regards, Graeme Gabe On Tue, Nov 29, 2011 at 2:58 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On 29/11/11 17:57, Gabe Black wrote

[U-Boot] [PATCH] Fix some bugs in the EFI support

2011-11-29 Thread Gabe Black
macro to avoid compiler errors. Signed-off-by: Gabe Black gabebl...@chromium.org --- disk/part_efi.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/disk/part_efi.c b/disk/part_efi.c index e7f2714..c94d808 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -37,6

[U-Boot] [PATCH 1/2] x86: Clean up the x86 zimage code in preparation to extend it

2011-11-29 Thread Gabe Black
This change cleans up some formatting issues in the zimage handling code, and converts it from using offsets added to a base pointer to using the available structure definitions which were already being included. Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/include/asm/zimage.h

[U-Boot] [PATCH 0/2] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-11-29 Thread Gabe Black
These two patches add support for the 32 bit Linux boot protocol to the zboot command. Gabe Black (2): x86: Clean up the x86 zimage code in preparation to extend it x86: Add support for booting Linux using the 32 bit boot protocol arch/x86/include/asm/zimage.h | 25 + arch/x86

[U-Boot] [PATCH 2/2] x86: Add support for booting Linux using the 32 bit boot protocol

2011-11-29 Thread Gabe Black
This change conditionally modifies the zboot command so that it can use the 32 bit boot protocol. This is necessary because the 16 bit realmode entry point assumes that it can call BIOS services which neither coreboot nor u-boot provide. Signed-off-by: Gabe Black gabebl...@chromium.org --- arch

Re: [U-Boot] [PATCH 2/2] x86: Add support for booting Linux using the 32 bit boot protocol

2011-11-29 Thread Gabe Black
, 2011 at 2:11 PM, Gabe Black gabebl...@chromium.org wrote: This change conditionally modifies the zboot command so that it can use the 32 bit boot protocol. This is necessary because the 16 bit realmode entry point assumes that it can call BIOS services which neither coreboot nor u-boot

Re: [U-Boot] [PATCH 2/2] x86: Add support for booting Linux using the 32 bit boot protocol

2011-11-29 Thread Gabe Black
On Tue, Nov 29, 2011 at 7:39 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On Wed, Nov 30, 2011 at 2:29 PM, Gabe Black gabebl...@chromium.org wrote: Hmm, that's in an intervening patch. I didn't think that one was necessary but apparently it is. I'll add that to the series

[U-Boot] [PATCH v6] x86: Initial commit for running as a coreboot payload

2011-11-29 Thread Gabe Black
Add a target for running u-boot as a coreboot payload in boards.cfg, a board, CPU and a config. This is a skeleton implementation which always reports the size of memory as 64 MB. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v5: Merge several smaller commits into this single

[U-Boot] [PATCH 0/4] Add code to read in the coreboot tables and fill in memory info.

2011-11-29 Thread Gabe Black
These changes add code which reads in the coreboot tables exported by coreboot and puts the info into a single structure for easy access. It also adds some code which uses that info to fill in an e820 table. Gabe Black (4): x86: Import code from coreboot's libpayload to parse the coreboot

[U-Boot] [PATCH 2/4] x86: Determine the ram size using the coreboot tables

2011-11-29 Thread Gabe Black
This is really only an approximation using the largest RAM address available in the tables. There may be areas which are marked as reserved which are actually at the end of RAM. Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/cpu/coreboot/sdram.c | 18 +- 1 files

[U-Boot] [PATCH 3/4] x86: Force the lib_sysinfo structure to be in the .data section

2011-11-29 Thread Gabe Black
) before then and have to fill that structure before relocation. We skirt u-boot's assumption by putting this in .data where it assumes there is still read only but non-zero data. Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/cpu/coreboot/sysinfo.c |8 +++- 1 files changed, 7

[U-Boot] [PATCH 4/4] x86: Add infrastructure to extract an e820 table from the coreboot tables

2011-11-29 Thread Gabe Black
Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/cpu/coreboot/sdram.c | 32 ++-- arch/x86/include/asm/zimage.h |5 + arch/x86/lib/zimage.c | 10 ++ 3 files changed, 41 insertions(+), 6 deletions(-) diff --git a/arch/x86/cpu

[U-Boot] [PATCH 1/4] x86: Import code from coreboot's libpayload to parse the coreboot table

2011-11-29 Thread Gabe Black
Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/cpu/coreboot/Makefile|3 + arch/x86/cpu/coreboot/ipchecksum.c| 54 ++ arch/x86/cpu/coreboot/sysinfo.c | 33 arch/x86/cpu/coreboot/tables.c| 183

Re: [U-Boot] [PATCH 0/2] Add support for the 32 bit boot protocol to the x86 zboot command.

2011-11-29 Thread Gabe Black
On Tue, Nov 29, 2011 at 7:48 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On Wed, Nov 30, 2011 at 2:11 PM, Gabe Black gabebl...@chromium.org wrote: These two patches add support for the 32 bit Linux boot protocol to the zboot command. Going by our previous offline

Re: [U-Boot] [PATCH 2/2] x86: Add support for booting Linux using the 32 bit boot protocol

2011-11-29 Thread Gabe Black
On Tue, Nov 29, 2011 at 7:52 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On Wed, Nov 30, 2011 at 2:50 PM, Gabe Black gabebl...@google.com wrote: On Tue, Nov 29, 2011 at 7:39 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On Wed, Nov 30, 2011 at 2:29 PM, Gabe

[U-Boot] [PATCH] x86: Fix IDE configuration for the coreboot board

2011-11-28 Thread Gabe Black
for because scanning for them adds a noticable pause during boot. It does, however, correct some comments describing the limits. Signed-off-by: Gabe Black gabebl...@chromium.org --- include/configs/coreboot.h |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include

Re: [U-Boot] [PATCH] x86: Fix IDE configuration for the coreboot board

2011-11-28 Thread Gabe Black
I missed this patch when I was gathering up the change which introduce the coreboot cpu/board/config. This should be applied on top of it, or folded into it. Gabe On Mon, Nov 28, 2011 at 9:21 PM, Gabe Black gabebl...@chromium.org wrote: The ports for the IDE controller were reversed. Because u

[U-Boot] [PATCH] x86: Turn on support for EFI's GPT in the coreboot config

2011-11-28 Thread Gabe Black
This allows u-boot to figure out the partitions of a chrome-os install. Signed-off-by: Gabe Black gabebl...@chromium.org --- include/configs/coreboot.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 348a25b

[U-Boot] [PATCH v3] x86: Wrap small helper functions from libgcc to avoid an ABI mismatch

2011-11-17 Thread Gabe Black
-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: - Change the [x86] tag to x86: - Mention -mregparm in the commit message. - Get rid of a stray line which snuck in during a rebase. Changes in v3: - Prevent symbols from libgcc which aren't wrapped from getting silently picked up

Re: [U-Boot] [PATCH v3] x86: Wrap small helper functions from libgcc to avoid an ABI mismatch

2011-11-17 Thread Gabe Black
On Thu, Nov 17, 2011 at 1:01 AM, Gabe Black gabebl...@chromium.org wrote: When gcc compiles some 64 bit operations on a 32 bit machine, it generates calls to small functions instead of instructions which do the job directly. Those functions are defined in libgcc and transparently provide

Re: [U-Boot] [PATCH v4 1/5] x86: Add a target for running as a coreboot payload

2011-11-17 Thread Gabe Black
On Thu, Nov 17, 2011 at 1:43 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On 17/11/11 11:27, Gabe Black wrote: Add a target for running u-boot as a coreboot payload in boards.cfg. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: Change capitalization

Re: [U-Boot] [PATCH v4 1/5] x86: Add a target for running as a coreboot payload

2011-11-17 Thread Gabe Black
On Thu, Nov 17, 2011 at 2:26 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On 17/11/11 21:11, Gabe Black wrote: On Thu, Nov 17, 2011 at 1:43 AM, Graeme Russ graeme.r...@gmail.com mailto:graeme.r...@gmail.com wrote: Hi Gabe, On 17/11/11 11:27, Gabe Black wrote

[U-Boot] [PATCH v5] x86: Initial commit for running as a coreboot payload

2011-11-17 Thread Gabe Black
Add a target for running u-boot as a coreboot payload in boards.cfg, a board, CPU and a config. This is a skeleton implementation which always reports the size of memory as 64 MB. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v5: Merge several smaller commits into this single

[U-Boot] [PATCH v4 0/5] Add a coreboot board, CPU, and configuration, and target.

2011-11-16 Thread Gabe Black
the summary tag style. Gabe Black (5): x86: Add a target for running as a coreboot payload x86: Add a basic implementation for a coreboot board x86: Add a preliminary coreboot configuration header x86: Add an implementation for a coreboot CPU x86: Make the serial port work for the coreboot

[U-Boot] [PATCH v4 1/5] x86: Add a target for running as a coreboot payload

2011-11-16 Thread Gabe Black
Add a target for running u-boot as a coreboot payload in boards.cfg. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: Change capitalization of the x86 tag. Changes in v3: Move the Signed-off-by line up. Changes in v4: Change the summary tag style. boards.cfg |1 + 1

[U-Boot] [PATCH v4 2/5] x86: Add a basic implementation for a coreboot board

2011-11-16 Thread Gabe Black
Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: Get rid of some dead/unnecessary code in the Makefile and coreboot.c. Changes in v3: Change the summary line tag style. board/chromebook-x86/coreboot/Makefile | 53 +++ board/chromebook-x86/coreboot

[U-Boot] [PATCH v4 5/5] x86: Make the serial port work for the coreboot board

2011-11-16 Thread Gabe Black
Signed-off-by: Gabe Black gabebl...@chromium.org --- include/serial.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/serial.h b/include/serial.h index 5926244..d27b850 100644 --- a/include/serial.h +++ b/include/serial.h @@ -31,7 +31,7 @@ extern struct

[U-Boot] [PATCH v4 4/5] x86: Add an implementation for a coreboot CPU

2011-11-16 Thread Gabe Black
This is a skeleton implementation which always reports the size of memory as 64 MB. Signed-off-by: Gabe Black: gabebl...@chromium.org --- arch/x86/cpu/coreboot/Makefile | 55 ++ arch/x86/cpu/coreboot/asm-offsets.c | 25 +++ arch/x86/cpu

[U-Boot] [PATCH v4 3/5] x86: Add a preliminary coreboot configuration header

2011-11-16 Thread Gabe Black
Signed-off-by: Gabe Black gabebl...@chromium.org --- include/configs/coreboot.h | 225 1 files changed, 225 insertions(+), 0 deletions(-) create mode 100644 include/configs/coreboot.h diff --git a/include/configs/coreboot.h b/include/configs

Re: [U-Boot] [PATCH v3] x86: Import the glibc memset implementation

2011-11-14 Thread Gabe Black
/11/11 14:00, Gabe Black wrote: The new implementation is about twice as fast as the old. Signed-off-by: Gabe Black gabebl...@chromium.org --- [snip] diff --git a/arch/x86/lib/string.c b/arch/x86/lib/string.c new file mode 100644 index 000..1346173 --- /dev/null +++ b/arch/x86

Re: [U-Boot] Bug introduced in x86 cleanup patches

2011-11-14 Thread Gabe Black
On Mon, Nov 14, 2011 at 2:10 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Wolfgang, Gabe, My recent x86 cleanup added a small, but very nasty, bug at line 231 of arch/x86/lib/board.c: offset_ptr_ram = offset_ptr_rom + gd-reloc_off Because offset_ptr_rom is a pointer, when

Re: [U-Boot] [PATCH v3] x86: Import the glibc memset implementation

2011-11-14 Thread Gabe Black
On Mon, Nov 14, 2011 at 1:49 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On Mon, Nov 14, 2011 at 11:38 PM, Gabe Black gabebl...@google.com wrote: On Sun, Nov 13, 2011 at 3:38 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, Sorry about the lateness, but I just

[U-Boot] [PATCH v4] x86: Import the glibc memset implementation

2011-11-14 Thread Gabe Black
The new implementation is about twice as fast as the old. This is from glibc-2.14, sysdeps/i386/memset.c. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: Update the commit summary as suggested by Mike Frysinger. Changes in v3: Rebase onto the x86 repository. Changes in v4

[U-Boot] [PATCH] x86: Fix a recently added bug in the relocation code

2011-11-14 Thread Gabe Black
Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/lib/board.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c index 18e0ede..4a791dd 100644 --- a/arch/x86/lib/board.c +++ b/arch/x86/lib/board.c @@ -220,6 +220,9

[U-Boot] [PATCH] x86: Make the i8042 driver checkpatch clean

2011-11-14 Thread Gabe Black
Signed-off-by: Gabe Black gabebl...@chromium.org --- drivers/input/i8042.c | 970 - 1 files changed, 472 insertions(+), 498 deletions(-) diff --git a/drivers/input/i8042.c b/drivers/input/i8042.c index 58094c9..83b1bf4 100644 --- a/drivers/input

Re: [U-Boot] [PATCH] x86: Fix a recently added bug in the relocation code

2011-11-14 Thread Gabe Black
On Mon, Nov 14, 2011 at 8:58 PM, Graeme Russ graeme.r...@gmail.com wrote: Gabe, On Tue, Nov 15, 2011 at 3:55 PM, Gabe Black gabebl...@chromium.org wrote: Signed-off-by: Gabe Black gabebl...@chromium.org --- arch/x86/lib/board.c |3 +++ 1 files changed, 3 insertions(+), 0

[U-Boot] [PATCH v2] x86: Fix some bugs in the i8402 driver when no controller is present

2011-11-14 Thread Gabe Black
as the return value of the function. That would give the right answer if it wasn't for that extra decrement because a timeout would indicate that the buffer never became empty. This change fixes both of those bugs. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: - Change summary tag

Re: [U-Boot] [PATCH] x86: Make the i8042 driver checkpatch clean

2011-11-14 Thread Gabe Black
On Mon, Nov 14, 2011 at 9:26 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On Tue, Nov 15, 2011 at 4:24 PM, Gabe Black gabebl...@chromium.org wrote: Signed-off-by: Gabe Black gabebl...@chromium.org --- drivers/input/i8042.c | 970

Re: [U-Boot] [PATCH] [fdt] Fix constness of the fdt void pointer in fdt_getprop_u32_default

2011-11-12 Thread Gabe Black
Bump. On Tue, Nov 8, 2011 at 5:47 AM, Mike Frysinger vap...@gentoo.org wrote: +fdt maintainer On Tuesday 08 November 2011 04:09:44 Gabe Black wrote: The function fdt_getprop_u32_default doesn't modify the fdt, so it can use a const void * for its fdt argument. Signed-off-by: Gabe

Re: [U-Boot] [PATCH] Add some missing endian conversions in fdt_support.c

2011-11-12 Thread Gabe Black
Bump. On Tue, Nov 8, 2011 at 5:47 AM, Mike Frysinger vap...@gentoo.org wrote: +fdt maintainer On Tuesday 08 November 2011 04:05:32 Gabe Black wrote: Some functions in fdt_support.c use fdt_getprop to read 32 bit values out of the device tree, but then use them directly without doing any

[U-Boot] [PATCH v3] x86: Fix how the location of the realmode and bios blobs are calculated

2011-11-12 Thread Gabe Black
From: Gabe Black gabebl...@google.com There are two blobs embedded into the u-boot image which are linked to run at an address which is different from where they actually end up in the ROM, one called realmode and one called bios. There are realmode_setup and bios_setup functions which prepare

[U-Boot] [PATCH v2] x86: Change printf to puts to avoid a buffer overflow

2011-11-12 Thread Gabe Black
with a few calls to puts that have the same effect. This may perform slightly better because it should avoid a copy and scanning for format specifiers. The amount of time it actually takes up is very tiny relative to everything else so in practice that's probably irrelevant. Signed-off-by: Gabe Black

[U-Boot] [PATCH v4] x86: Don't relocate symbols which point to things that aren't relocated

2011-11-12 Thread Gabe Black
This change adds an upper bound for symbols which are fixed up after u-boot is relocated into RAM. This way portions that are left at their original location can be referred to without having to manually fix up any pointers. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2

Re: [U-Boot] [PATCH] [x86] Fix some bugs in the i8402 driver when no controller is present

2011-11-12 Thread Gabe Black
On Sat, Nov 12, 2011 at 2:26 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On 08/11/11 20:48, Gabe Black wrote: If no controller is present, the i8402 driver should return immediately and not attempt to operate on the missing hardware. In kbd_input_empty, the status register

[U-Boot] [PATCH v3] x86: Import the glibc memset implementation

2011-11-12 Thread Gabe Black
The new implementation is about twice as fast as the old. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: Update the commit summary as suggested by Mike Frysinger. Changes in v3: Rebase onto the x86 repository. arch/x86/include/asm/string.h |2 +- arch/x86/lib/Makefile

Re: [U-Boot] [PATCH v2] x86: Import the glibc memset implementation

2011-11-11 Thread Gabe Black
On Wed, Nov 9, 2011 at 12:47 PM, Mike Frysinger vap...@gentoo.org wrote: On Wednesday 09 November 2011 14:12:15 Scott Wood wrote: Last I tried, I couldn't get it to work even with USE_PRIVATE_LIBGCC, because the compiler was generating calls to things that U-Boot didn't implement. last i

Re: [U-Boot] [RFC] x86: Do no use reparm as it break libgcc linkage

2011-11-10 Thread Gabe Black
On Thu, Nov 10, 2011 at 5:59 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Mike, On Fri, Nov 11, 2011 at 12:55 PM, Mike Frysinger vap...@gentoo.org wrote: On Thursday 10 November 2011 20:51:47 Graeme Russ wrote: A few questions (I am unfamiliar with the Linux build environment): a)

Re: [U-Boot] [RFC] x86: Do no use reparm as it break libgcc linkage

2011-11-10 Thread Gabe Black
On Thu, Nov 10, 2011 at 6:22 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Gabe, On Fri, Nov 11, 2011 at 1:10 PM, Gabe Black gabebl...@google.com wrote: On Thu, Nov 10, 2011 at 5:59 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Mike, On Fri, Nov 11, 2011 at 12:55 PM, Mike

[U-Boot] [PATCH] [driver][cfb] Make the software cursor non-destructive

2011-11-08 Thread Gabe Black
to be, the end result is that the cursor is where it's supposed to be with the other text preserved intact. Signed-off-by: Gabe Black gabebl...@chromium.org --- drivers/video/cfb_console.c | 92 ++- 1 files changed, 47 insertions(+), 45 deletions(-) diff --git

  1   2   >