RE: [PATCH v1 14/15] x86: intel: slimbootloader: Remove dead code

2020-08-16 Thread Park, Aiden
> -Original Message- > From: Andy Shevchenko > Sent: Thursday, August 6, 2020 7:55 AM > To: Simon Glass ; Bin Meng ; u- > b...@lists.denx.de > Cc: Andy Shevchenko ; Park, Aiden > > Subject: [PATCH v1 14/15] x86: intel: slimbootloader: Remove dead code > >

RE: [PATCH v1 01/15] x86: Introduce USE_EARLY_BOARD_INIT option

2020-08-16 Thread Park, Aiden
> -Original Message- > From: Andy Shevchenko > Sent: Thursday, August 6, 2020 7:54 AM > To: Simon Glass ; Bin Meng ; u- > b...@lists.denx.de > Cc: Andy Shevchenko ; Park, Aiden > ; Stefan Roese ; George McCollister > > Subject: [PATCH v1 01/15] x86: Introduce

RE: [PATCH 1/8] x86: Add a new X86_RUN_64BIT_ONLY to Kconfig

2020-05-01 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng > Sent: Thursday, April 30, 2020 2:14 AM > To: Park, Aiden > Cc: Simon Glass ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 1/8] x86: Add a new X86_RUN_64BIT_ONLY to Kconfig > > Hi Aiden, >

RE: [PATCH 4/8] x86: slimbootloader: Support 64-bit operation

2020-05-01 Thread Park, Aiden
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Wednesday, April 29, 2020 11:04 AM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 4/8] x86: slimbootloader: Support 64-bit operation > > Hi Aide

RE: [PATCH 7/8] x86: enable 64-bit kernel boot from 64-bit U-Boot

2020-04-29 Thread Park, Aiden
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Sunday, April 26, 2020 1:16 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 7/8] x86: enable 64-bit kernel boot from 64-bit U-Boot > > Hi Aide

RE: [PATCH 6/8] x86: Fix 64-bit compile warning

2020-04-29 Thread Park, Aiden
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Sunday, April 26, 2020 12:46 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 6/8] x86: Fix 64-bit compile warning > > Hi Aiden, > > On

RE: [PATCH 5/8] configs: slimbootloader: Add x86_64 slimbootloader config

2020-04-29 Thread Park, Aiden
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Sunday, April 26, 2020 1:32 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 5/8] configs: slimbootloader: Add x86_64 slimbootloader > config > >

RE: [PATCH 4/8] x86: slimbootloader: Support 64-bit operation

2020-04-29 Thread Park, Aiden
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Sunday, April 26, 2020 1:16 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 4/8] x86: slimbootloader: Support 64-bit operation > > Hi Aiden, >

RE: [PATCH 3/8] x86: start64: Support HOB in 64-bit U-Boot

2020-04-28 Thread Park, Aiden
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Sunday, April 26, 2020 1:16 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 3/8] x86: start64: Support HOB in 64-bit U-Boot > > Hi Aiden, >

RE: [PATCH 2/8] x86: start64: Add a hook at 64-bit entry

2020-04-28 Thread Park, Aiden
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Sunday, April 26, 2020 1:16 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 2/8] x86: start64: Add a hook at 64-bit entry > > Hi Aiden, >

RE: [PATCH 1/8] x86: Add a new X86_RUN_64BIT_ONLY to Kconfig

2020-04-28 Thread Park, Aiden
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Sunday, April 26, 2020 1:16 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 1/8] x86: Add a new X86_RUN_64BIT_ONLY to Kconfig > > Hi Aiden, >

RE: [PATCH 0/8] Support 64-bit U-Boot for Slim Bootloader

2020-04-28 Thread Park, Aiden
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Sunday, April 26, 2020 1:16 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [PATCH 0/8] Support 64-bit U-Boot for Slim Bootloader > > Hi Aiden, >

RE: [PATCH] x86: Cache write back at 32-bit entry point

2020-02-27 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng > Sent: Thursday, February 27, 2020 9:27 PM > To: Park, Aiden > Cc: masahi...@kernel.org; s...@chromium.org; s...@denx.de; ag...@suse.de; u- > b...@lists.denx.de > Subject: Re: [PATCH] x86: Cache write back at 32-bi

[PATCH] x86: Cache write back at 32-bit entry point

2020-02-27 Thread Park, Aiden
In a certain condition, invd causes cache coherence issue. 1. Pre-stage boot code passes memory address to U-Boot 2. The data of the memory address is still in data cache line 3. The invd marks data cache line as invalid without write back 4. U-Boot accesses the memory address 5. Data is

Re: [PATCH 0/2] x86: serial: Use NS16550_DYNAMIC in Slim Bootloader

2020-02-03 Thread Park, Aiden
Hi Bin, > On Feb 3, 2020, at 7:03 PM, Bin Meng wrote: > > Hi Aiden, > >> On Wed, Dec 18, 2019 at 1:56 PM Park, Aiden wrote: >> >> Slim Bootloader provides serial port info in its HOB to support >> both IO or MMIO serial ports, but

RE: [PATCH v3 1/4] serial: ns16550: Support run-time configuration

2019-12-20 Thread Park, Aiden
Hi Simon, Thanks for enabling this dynamic serial config. I have verified this with Slim Bootloader change(https://patchwork.ozlabs.org/project/uboot/list/?series=149214) on QEMU and APL platform, and it works well as expected. Reviewed-by: Aiden Park Tested-by: Aiden Park > -Original

[PATCH 2/2] doc: intel: Update serial driver changes in slimbootloader.rst

2019-12-17 Thread Park, Aiden
Now, Slim Bootloader uses NS16550_DYNAMIC to support serial port configuration at runtime, so no more code change is required. Therefore, remove unnecessary steps and fix minor typo. Signed-off-by: Aiden Park --- doc/board/intel/slimbootloader.rst | 35 +++--- 1 file

[PATCH 1/2] x86: serial: Use NS16550_DYNAMIC in Slim Bootloader

2019-12-17 Thread Park, Aiden
Slim Bootloader provides serial port info in its HOB to support both IO or MMIO serial ports, but it's controlled by SYS_NS16550_MEM32 or SYS_NS16550_PORT_MAPPED in U-Boot. To support both serial port configurations dynamically at runtime, Slim Bootloader serial driver leverages NS16550_DYNAMIC.

[PATCH 0/2] x86: serial: Use NS16550_DYNAMIC in Slim Bootloader

2019-12-17 Thread Park, Aiden
Slim Bootloader provides serial port info in its HOB to support both IO or MMIO serial ports, but it's controlled by SYS_NS16550_MEM32 or SYS_NS16550_PORT_MAPPED in U-Boot. To support both serial port configurations dynamically at runtime, Slim Bootloader serial driver leverages NS16550_DYNAMIC.

RE: [PATCH v2 1/4] serial: ns16550: Support run-time configuration

2019-12-10 Thread Park, Aiden
Hi Simon, > -Original Message- > From: U-Boot On Behalf Of Simon Glass > Sent: Monday, December 9, 2019 8:59 AM > To: U-Boot Mailing List > Cc: Stefan Roese ; Angelo Dureghello > Subject: [PATCH v2 1/4] serial: ns16550: Support run-time configuration > > At present this driver uses an

RE: [PATCH 1/4] serial: n16550: Support run-time configuration

2019-12-09 Thread Park, Aiden
9 3:31 AM > To: Simon Glass ; Park, Aiden > Cc: U-Boot Mailing List > Subject: Re: [PATCH 1/4] serial: n16550: Support run-time configuration > > +Aiden > > Hi Simon, > > On Fri, Dec 6, 2019 at 7:04 AM Simon Glass wrote: > > > > At present this driver uses an

Re: [U-Boot] [PATCH v3 022/108] x86: timer: Use a separate flag for whether timer is inited

2019-10-21 Thread Park, Aiden
> -Original Message- > From: Simon Glass [mailto:s...@chromium.org] > Sent: Sunday, October 20, 2019 8:38 PM > To: U-Boot Mailing List > Cc: Bin Meng ; Simon Glass ; > Andy Shevchenko ; Bernhard Messerklinger > ; Park, Aiden > ; Simon Goldschmidt > ; Stefan Roes

Re: [U-Boot] [PATCH v3 2/2] x86: efi_loader: Use efi_add_conventional_memory_map()

2019-09-10 Thread Park, Aiden
Thanks Bin! > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Monday, September 9, 2019 11:31 PM > To: Park, Aiden > Cc: Heinrich Schuchardt ; Alexander Graf > ; u-boot@lists.denx.de > Subject: Re: [PATCH v3 2/2]

Re: [U-Boot] [PATCH 1/1] doc: slimbootloader: Update Linux booting steps on QEMU

2019-09-09 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Park, Aiden > Sent: Sunday, August 25, 2019 9:56 PM > To: 'Bin Meng' > Cc: Andy Shevchenko ; u-boot@lists.denx.de > Subject: RE: [PATCH 1/1] doc: slimbootloader: Update Linux booting steps on > QEMU > > Hi Bin, &

Re: [U-Boot] [PATCH v3 2/2] x86: efi_loader: Use efi_add_conventional_memory_map()

2019-09-09 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] > Sent: Tuesday, September 3, 2019 12:21 PM > To: Park, Aiden ; Bin Meng ; > Alexander Graf ; u-boot@lists.denx.de > Subject: Re: [PATCH v3 2/2] x86: efi_loader: Use > efi_add_co

[U-Boot] [PATCH v3 1/2] efi_loader: Extract adding a conventional memory in separate routine

2019-09-03 Thread Park, Aiden
Adding a conventional memory region to the memory map may require ram_top limitation and it can be also commonly used. Extract adding a conventional memory to the memory map in a separate routine for generic use. Signed-off-by: Aiden Park --- Changes in v3: * Split a single commit to two

[U-Boot] [PATCH v3 2/2] x86: efi_loader: Use efi_add_conventional_memory_map()

2019-09-03 Thread Park, Aiden
Use efi_add_conventional_memory_map() to configure EFI conventional memory properly with ram_top value. This will give 32bit mode U-Boot proper conventional memory regions even if e820 has a entry which is greater than 32bit address space. Signed-off-by: Aiden Park --- Changes in v3: * Split a

[U-Boot] [PATCH v3 0/2] x86: efi_loader: Fix invalid address return from efi_alloc()

2019-09-03 Thread Park, Aiden
This issue can be seen on 32bit operation when one of E820_RAM type entries is greater than 4GB memory space. The efi_alloc() finds a free memory in the conventional memory which is greater than 4GB. But, it does type cast to 32bit address space and eventually returns invalid address. Changes in

Re: [U-Boot] [PATCH 4/4] x86: qemu: Report high memory in the E820 table

2019-09-03 Thread Park, Aiden
> -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Thursday, August 29, 2019 2:53 AM > To: Simon Glass ; Park, Aiden ; > U-Boot Mailing List > Cc: Heinrich Schuchardt > Subject: [PATCH 4/4] x86: qemu: Report high memory in the E820 table >

Re: [U-Boot] [PATCH 3/4] x86: qemu: Support getting high memory size

2019-09-03 Thread Park, Aiden
> -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Thursday, August 29, 2019 2:53 AM > To: Simon Glass ; Park, Aiden ; > U-Boot Mailing List > Cc: Heinrich Schuchardt > Subject: [PATCH 3/4] x86: qemu: Support getting high memory size >

Re: [U-Boot] [PATCH 2/4] x86: qemu: Extract getting memory size to a separate routine

2019-09-03 Thread Park, Aiden
> -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Thursday, August 29, 2019 2:53 AM > To: Simon Glass ; Park, Aiden ; > U-Boot Mailing List > Cc: Heinrich Schuchardt > Subject: [PATCH 2/4] x86: qemu: Extract getting memory size to

[U-Boot] [PATCH v2 1/1] x86: efi_loader: Fix invalid address return from efi_alloc()

2019-09-02 Thread Park, Aiden
This issue can be seen on 32bit operation when one of E820_RAM type entries is greater than 4GB memory space. The efi_alloc() finds a free memory in the conventional memory which is greater than 4GB. But, it does type cast to 32bit address space and eventually returns invalid address.

Re: [U-Boot] [PATCH 1/1] x86: efi_loader: Fix invalid address return from efi_alloc()

2019-08-30 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Friday, August 30, 2019 12:22 AM > To: Park, Aiden > Cc: Heinrich Schuchardt ; Simon Glass > ; u-boot@lists.denx.de; Alexander Graf > > Subject: Re: [PATCH 1/1] x86: efi_loader: Fi

Re: [U-Boot] [PATCH 1/1] x86: efi_loader: Fix invalid address return from efi_alloc()

2019-08-29 Thread Park, Aiden
Hi Heinrich and Bin, > -Original Message- > From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] > Sent: Wednesday, August 28, 2019 10:16 PM > To: Bin Meng ; Park, Aiden > Cc: Simon Glass ; u-boot@lists.denx.de; Alexander Graf > > Subject: Re: [PATCH 1/1] x86: ef

Re: [U-Boot] [PATCH 1/4] x86: Drop weak version board_get_usable_ram_top()

2019-08-29 Thread Park, Aiden
> -Original Message- > From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] > Sent: Thursday, August 29, 2019 12:27 PM > To: Bin Meng ; Simon Glass ; Park, > Aiden ; U-Boot Mailing List > Subject: Re: [PATCH 1/4] x86: Drop weak version board_get_usable_ram_top() >

Re: [U-Boot] [PATCH 1/1] x86: efi_loader: Fix invalid address return from efi_alloc()

2019-08-28 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Wednesday, August 28, 2019 8:37 PM > To: Park, Aiden ; Heinrich Schuchardt > > Cc: Simon Glass ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/1] x86: efi_loader: Fix invalid address re

[U-Boot] [PATCH 1/1] x86: efi_loader: Fix invalid address return from efi_alloc()

2019-08-27 Thread Park, Aiden
This issue can be seen on 32bit operation when one of E820_RAM type entries is greater than 4GB memory space. The efi_alloc() finds a free memory in the conventional memory which is greater than 4GB. But, it does type cast to 32bit address space and eventually returns invalid address.

Re: [U-Boot] [PATCH 1/1] doc: slimbootloader: Update Linux booting steps on QEMU

2019-08-25 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Sunday, August 25, 2019 9:47 PM > To: Park, Aiden > Cc: Andy Shevchenko ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/1] doc: slimbootloader: Update Linux booting steps on > QEMU >

Re: [U-Boot] [PATCH 1/1] doc: slimbootloader: Update Linux booting steps on QEMU

2019-08-25 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Sunday, August 25, 2019 7:36 PM > To: Park, Aiden > Cc: Andy Shevchenko ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/1] doc: slimbootloader: Update Linux booting steps on > QEMU >

[U-Boot] [PATCH 1/1] doc: slimbootloader: Update Linux booting steps on QEMU

2019-08-22 Thread Park, Aiden
Add steps to test Linux booting on QEMU with Yocto image. Signed-off-by: Aiden Park --- doc/board/intel/slimbootloader.rst | 22 ++ 1 file changed, 22 insertions(+) diff --git a/doc/board/intel/slimbootloader.rst b/doc/board/intel/slimbootloader.rst index

Re: [U-Boot] [PATCH 1/1] serial: ns16550: Read reg-io-type from device tree

2019-08-21 Thread Park, Aiden
Hi Andy/Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Wednesday, August 21, 2019 2:45 AM > To: Andy Shevchenko > Cc: Park, Aiden ; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 1/1] serial: ns16550: Read reg-io-type from > de

[U-Boot] [PATCH 1/1] serial: ns16550: Read reg-io-type from device tree

2019-08-20 Thread Park, Aiden
ns16550 can select register access type from device tree. This also allows an inherited serial driver of ns16550 to configure register access type at run-time by overriding ofdata_to_platdata. Signed-off-by: Aiden Park --- drivers/serial/ns16550.c | 63 +++-

[U-Boot] [PATCH 1/1] dm: scsi: Scan the actual number of ports

2019-08-20 Thread Park, Aiden
The scsi_scan_dev() is looping over the number of uc_plat->max_id. The number of actual ports a AHCI controller has can be greater than max_id. Update uc_plat->max_id to make SCSI scan all detected ports. Signed-off-by: Aiden Park --- drivers/ata/ahci.c | 8 1 file changed, 8

Re: [U-Boot] [PATCH v9 8/9] board: intel: Add new slimbootloader board

2019-08-13 Thread Park, Aiden
Hi Bin, > On Aug 13, 2019, at 9:03 PM, Bin Meng wrote: > > Hi Aiden, > >> On Thu, Aug 8, 2019 at 10:42 PM Bin Meng wrote: >> >> Hi Aiden, >> >>> On Thu, Aug 8, 2019 at 10:35 PM Bin Meng wrote: >>> >>>> On Sat, Aug 3, 2019

[U-Boot] [PATCH v9 8/9] board: intel: Add new slimbootloader board

2019-08-03 Thread Park, Aiden
Add slimbootloader board to run U-boot as a Slim Bootloader payload - Add new board/intel/slimbootloader directory with minimum codes - Add slimbootloader configuration files - Add doc/board/intel/slimbootloader.rst Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko

[U-Boot] [PATCH v9 5/9] x86: slimbootloader: Add serial driver

2019-08-03 Thread Park, Aiden
Slim Bootloader provides serial port info thru its HOB list pointer. All these HOBs are eligible for Slim Bootloader based board only. - Get serial port information from the serial port info HOB - Leverage ns16550 driver with slimbootloader specific platform data Signed-off-by: Aiden Park

[U-Boot] [PATCH v9 6/9] x86: slimbootloader: Set TSC information for tsc_timer

2019-08-03 Thread Park, Aiden
Slim Bootloader already calibrated TSC and provides it to U-Boot. Therefore, U-Boot does not have to re-calibrate TSC. Configuring tsc_base and clock_rate makes x86 tsc_timer driver bypass TSC calibration and use the provided TSC frequency. - Get TSC frequency from performance info hob - Set

[U-Boot] [PATCH v9 7/9] x86: slimbootloader: Add a slimbootloader device tree

2019-08-03 Thread Park, Aiden
Add a new device tree which has very minimum nodes - x86 reset - x86 tsc_timer - x86 pci - Slim Bootloader serial Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko --- Changes in v3: * Move slimbootloader.dtb before baytrail_som-db5800-som-6867.dtb

[U-Boot] [PATCH v9 3/9] x86: Add a common HOB library

2019-08-03 Thread Park, Aiden
FSP (CONFIG_HAVE_FSP) and Slim Bootloader (CONFIG_SYS_SLIMBOOTLOADER) consume HOB (CONFIG_USE_HOB) data from the each HOB list pointer. Add a common HOB library in lib/hob.c and include/asm/hob.h. Signed-off-by: Aiden Park Reviewed-by: Andy Shevchenko Reviewed-by: Bin Meng Tested-by: Bin Meng

[U-Boot] [PATCH v9 9/9] x86: Skip setting up MTRRs in slimbootloader

2019-08-03 Thread Park, Aiden
The setting up MTRRs have already been done in previous Slim Bootloader stages. Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko --- arch/x86/lib/init_helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/lib/init_helpers.c

[U-Boot] [PATCH v9 4/9] x86: slimbootloader: Add memory configuration

2019-08-03 Thread Park, Aiden
Slim Bootloader provides memory map info thru its HOB list pointer. Configure memory size and relocation memory from the HOB data, and provide e820 entries as well. - Get memory size from the memory map info HOB - Set available top memory lower than 4GB for U-Boot relocation - Provide e820 entries

[U-Boot] [PATCH v9 2/9] x86: lib: fsp: Use EFI_GUID and efi_guid_t

2019-08-03 Thread Park, Aiden
Use existing EFI_GUID and efi_guid_t instead of struct efi_guid. This is pre-work before making a common HOB library. - Change 'struct efi_guid' to efi_guit_t - Remove 'struct efi_guid' - Define GUIDs with EFI_GUID() macro - Use guidcmp() instead of compare_guid() - Remove compare_guid()

[U-Boot] [PATCH v9 1/9] x86: Add new slimbootloader CPU type

2019-08-03 Thread Park, Aiden
This slimbootloader CPU type is to enable U-Boot as a payload which runs on top of Slim Bootloader (https://github.com/slimbootloader). The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS booting, and supports QEMU, Apollolake, Whiskeylake and

[U-Boot] [PATCH v9 0/9] x86: Add basic Slim Bootloader payload support

2019-08-03 Thread Park, Aiden
This patch is to enable U-Boot as a payload which runs on top of Slim Bootloader (https://github.com/slimbootloader/slimbootloader) boot firmware for x86 platforms. The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS hand-off, and supports

Re: [U-Boot] [PATCH v8 4/9] x86: slimbootloader: Add memory configuration

2019-08-02 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Friday, August 2, 2019 4:51 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v8 4/9] x86: slimb

[U-Boot] [PATCH v8 8/9] board: intel: Add new slimbootloader board

2019-08-02 Thread Park, Aiden
Add slimbootloader board to run U-boot as a Slim Bootloader payload - Add new board/intel/slimbootloader directory with minimum codes - Add slimbootloader configuration files - Add doc/board/intel/slimbootloader.rst Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko

[U-Boot] [PATCH v8 9/9] x86: Skip setting up MTRRs in slimbootloader

2019-08-02 Thread Park, Aiden
The setting up MTRRs have already been done in previous Slim Bootloader stages. Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko --- arch/x86/lib/init_helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/lib/init_helpers.c

[U-Boot] [PATCH v8 7/9] x86: slimbootloader: Add a slimbootloader device tree

2019-08-02 Thread Park, Aiden
Add a new device tree which has very minimum nodes - x86 reset - x86 tsc_timer - x86 pci - Slim Bootloader serial Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko --- Changes in v3: * Move slimbootloader.dtb before baytrail_som-db5800-som-6867.dtb

[U-Boot] [PATCH v8 6/9] x86: slimbootloader: Set TSC information for tsc_timer

2019-08-02 Thread Park, Aiden
Slim Bootloader already calibrated TSC and provides it to U-Boot. Therefore, U-Boot does not have to re-calibrate TSC. Configuring tsc_base and clock_rate makes x86 tsc_timer driver bypass TSC calibration and use the provided TSC frequency. - Get TSC frequency from performance info hob - Set

[U-Boot] [PATCH v8 5/9] x86: slimbootloader: Add serial driver

2019-08-02 Thread Park, Aiden
Slim Bootloader provides serial port info thru its HOB list pointer. All these HOBs are eligible for Slim Bootloader based board only. - Get serial port information from the serial port info HOB - Leverage ns16550 driver with slimbootloader specific platform data Signed-off-by: Aiden Park

[U-Boot] [PATCH v8 4/9] x86: slimbootloader: Add memory configuration

2019-08-02 Thread Park, Aiden
Slim Bootloader provides memory map info thru its HOB list pointer. Configure memory size and relocation memory from the HOB data, and provide e820 entries as well. - Get memory size from the memory map info HOB - Set available top memory lower than 4GB for U-Boot relocation - Provide e820 entries

[U-Boot] [PATCH v8 3/9] x86: Add a common HOB library

2019-08-02 Thread Park, Aiden
FSP (CONFIG_HAVE_FSP) and Slim Bootloader (CONFIG_SYS_SLIMBOOTLOADER) consume HOB (CONFIG_USE_HOB) data from the each HOB list pointer. Add a common HOB library in lib/hob.c and include/asm/hob.h. Signed-off-by: Aiden Park Reviewed-by: Andy Shevchenko Reviewed-by: Bin Meng Tested-by: Bin Meng

[U-Boot] [PATCH v8 1/9] x86: Add new slimbootloader CPU type

2019-08-02 Thread Park, Aiden
This slimbootloader CPU type is to enable U-Boot as a payload which runs on top of Slim Bootloader (https://github.com/slimbootloader). The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS booting, and supports QEMU, Apollolake, Whiskeylake and

[U-Boot] [PATCH v8 2/9] x86: lib: fsp: Use EFI_GUID and efi_guid_t

2019-08-02 Thread Park, Aiden
Use existing EFI_GUID and efi_guid_t instead of struct efi_guid. This is pre-work before making a common HOB library. - Change 'struct efi_guid' to efi_guit_t - Remove 'struct efi_guid' - Define GUIDs with EFI_GUID() macro - Use guidcmp() instead of compare_guid() - Remove compare_guid()

[U-Boot] [PATCH v8 0/9] x86: Add basic Slim Bootloader payload support

2019-08-02 Thread Park, Aiden
This patch is to enable U-Boot as a payload which runs on top of Slim Bootloader (https://github.com/slimbootloader/slimbootloader) boot firmware for x86 platforms. The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS hand-off, and supports

Re: [U-Boot] [PATCH v7 3/9] x86: Add a common HOB library

2019-08-01 Thread Park, Aiden
Hi Bin/Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Thursday, August 1, 2019 5:14 PM > To: Bin Meng > Cc: Park, Aiden ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v7 3/9] x86: Add

Re: [U-Boot] [PATCH v7 0/9] x86: Add basic Slim Bootloader payload support

2019-08-01 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Thursday, August 1, 2019 2:23 PM > To: Park, Aiden > Cc: Andy Shevchenko ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v7 0/9] x86: Add basic Slim Bootl

Re: [U-Boot] [PATCH v7 8/9] board: intel: Add new slimbootloader board

2019-08-01 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Thursday, August 1, 2019 2:17 PM > To: Park, Aiden > Cc: Andy Shevchenko ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v7 8/9] board: intel: Add new

[U-Boot] [PATCH v7 9/9] x86: Skip setting up MTRRs in slimbootloader

2019-07-28 Thread Park, Aiden
The setting up MTRRs have already been done in previous Slim Bootloader stages. Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko --- arch/x86/lib/init_helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/lib/init_helpers.c

[U-Boot] [PATCH v7 8/9] board: intel: Add new slimbootloader board

2019-07-28 Thread Park, Aiden
Add slimbootloader board to run U-boot as a Slim Bootloader payload - Add new board/intel/slimbootloader directory with minimum codes - Add slimbootloader configuration files - Add doc/board/intel/slimbootloader.rst Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko

[U-Boot] [PATCH v7 5/9] x86: slimbootloader: Add serial driver

2019-07-28 Thread Park, Aiden
Slim Bootloader provides serial port info thru its HOB list pointer. All these HOBs are eligible for Slim Bootloader based board only. - Get serial port information from the serial port info HOB - Leverage ns16550 driver with slimbootloader specific platform data Signed-off-by: Aiden Park

[U-Boot] [PATCH v7 7/9] x86: slimbootloader: Add a slimbootloader device tree

2019-07-28 Thread Park, Aiden
Add a new device tree which has very minimum nodes - x86 reset - x86 tsc_timer - x86 pci - Slim Bootloader serial Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko --- Changes in v3: * Move slimbootloader.dtb before baytrail_som-db5800-som-6867.dtb

[U-Boot] [PATCH v7 6/9] x86: slimbootloader: Set TSC information for tsc_timer

2019-07-28 Thread Park, Aiden
Slim Bootloader already calibrated TSC and provides it to U-Boot. Therefore, U-Boot does not have to re-calibrate TSC. Configuring tsc_base and clock_rate makes x86 tsc_timer driver bypass TSC calibration and use the provided TSC frequency. - Get TSC frequency from performance info hob - Set

[U-Boot] [PATCH v7 3/9] x86: Add a common HOB library

2019-07-28 Thread Park, Aiden
FSP(CONFIG_HAVE_FSP) and Slim Bootloader(CONFIG_SYS_SLIMBOOTLOADER) consume HOB(CONFIG_USE_HOB) data from the each HOB list pointer. Add a common HOB library in lib/hob.c and include/asm/hob.h. Signed-off-by: Aiden Park --- Changes in v7: * Split HOB library into EFI_GUID pre-work and making

[U-Boot] [PATCH v7 4/9] x86: slimbootloader: Add memory configuration

2019-07-28 Thread Park, Aiden
Slim Bootloader provides memory map info thru its HOB list pointer. Configure memory size and relocation memory from the HOB data, and provide e820 entries as well. - Get memory size from the memory map info HOB - Set available top memory lower than 4GB for U-Boot relocation - Provide e820 entries

[U-Boot] [PATCH v7 2/9] x86: lib: fsp: Use EFI_GUID and efi_guid_t

2019-07-28 Thread Park, Aiden
Use existing EFI_GUID and efi_guid_t instead of struct efi_guid. This is pre-work before making a common HOB library. - Change 'struct efi_guid' to efi_guit_t - Remove 'struct efi_guid' - Define GUIDs with EFI_GUID() macro - Use guidcmp() instead of compare_guid() - Remove compare_guid()

[U-Boot] [PATCH v7 1/9] x86: Add new slimbootloader CPU type

2019-07-28 Thread Park, Aiden
This slimbootloader CPU type is to enable U-Boot as a payload which runs on top of Slim Bootloader(https://github.com/slimbootloader). The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS booting, and supports QEMU, Apollolake, Whiskeylake and

[U-Boot] [PATCH v7 0/9] x86: Add basic Slim Bootloader payload support

2019-07-28 Thread Park, Aiden
This patch is to enable U-Boot as a payload which runs on top of Slim Bootloader(https://github.com/slimbootloader/slimbootloader) boot firmware for x86 platforms. The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS hand-off, and supports

Re: [U-Boot] [PATCH v6 5/8] x86: slimbootloader: Set TSC information for tsc_timer

2019-07-28 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Saturday, July 27, 2019 6:06 AM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v6 5/8] x86: sl

Re: [U-Boot] [PATCH v6 7/8] board: intel: Add new slimbootloader board

2019-07-26 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Friday, July 26, 2019 10:00 PM > To: Park, Aiden > Cc: Andy Shevchenko ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v6 7/8] board: intel: Add new

Re: [U-Boot] [PATCH v6 0/8] x86: Add basic Slim Bootloader payload support

2019-07-26 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Friday, July 26, 2019 7:39 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v6 0/8] x86: Add basic Sl

Re: [U-Boot] [PATCH v6 5/8] x86: slimbootloader: Set TSC information for tsc_timer

2019-07-26 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Friday, July 26, 2019 7:37 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v6 5/8] x86: slimbootloader

Re: [U-Boot] [PATCH v6 2/8] x86: Add a common HOB library

2019-07-26 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Friday, July 26, 2019 7:32 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v6 2/8] x86: Add a common HO

Re: [U-Boot] [PATCH v6 3/8] x86: slimbootloader: Add memory configuration

2019-07-26 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Friday, July 26, 2019 7:30 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v6 3/8] x86: slimb

[U-Boot] [PATCH v6 3/8] x86: slimbootloader: Add memory configuration

2019-07-26 Thread Park, Aiden
Slim Bootloader provides memory map info thru its HOB list pointer. Configure memory size and relocation memory from the HOB data, and provide e820 entries as well. - Get memory size from the memory map info HOB - Set available top memory lower than 4GB for U-Boot relocation - Provide e820 entries

[U-Boot] [PATCH v6 5/8] x86: slimbootloader: Set TSC information for tsc_timer

2019-07-26 Thread Park, Aiden
Slim Bootloader already calibrated TSC and provides it to U-Boot. Therefore, U-Boot does not have to re-calibrate TSC. Configuring tsc_base and clock_rate makes x86 tsc_timer driver bypass TSC calibration and use the provided TSC frequency. - Get TSC frequency from performance info hob - Set

[U-Boot] [PATCH v6 8/8] x86: Skip setting up MTRRs in slimbootloader

2019-07-26 Thread Park, Aiden
The setting up MTRRs have already been done in previous Slim Bootloader stages. Signed-off-by: Aiden Park Reviewed-by: Bin Meng --- arch/x86/lib/init_helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/lib/init_helpers.c b/arch/x86/lib/init_helpers.c index

[U-Boot] [PATCH v6 7/8] board: intel: Add new slimbootloader board

2019-07-26 Thread Park, Aiden
Add slimbootloader board to run U-boot as a Slim Bootloader payload - Add new board/intel/slimbootloader directory with minimum codes - Add slimbootloader configuration files - Add doc/board/intel/slimbootloader.rst Signed-off-by: Aiden Park Reviewed-by: Bin Meng --- Changes in v6: * Select

[U-Boot] [PATCH v6 0/8] x86: Add basic Slim Bootloader payload support

2019-07-26 Thread Park, Aiden
This patch is to enable U-Boot as a payload which runs on top of Slim Bootloader(https://github.com/slimbootloader/slimbootloader) boot firmware for x86 platforms. The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS hand-off, and supports

[U-Boot] [PATCH v6 6/8] x86: slimbootloader: Add a slimbootloader device tree

2019-07-26 Thread Park, Aiden
Add a new device tree which has very minimum nodes - x86 reset - x86 tsc_timer - x86 pci - Slim Bootloader serial Signed-off-by: Aiden Park Reviewed-by: Bin Meng --- Changes in v3: * Move slimbootloader.dtb before baytrail_som-db5800-som-6867.dtb arch/x86/dts/Makefile | 1 +

[U-Boot] [PATCH v6 4/8] x86: slimbootloader: Add serial driver

2019-07-26 Thread Park, Aiden
Slim Bootloader provides serial port info thru its HOB list pointer. All these HOBs are eligible for Slim Bootloader based board only. - Get serial port information from the serial port info HOB - Leverage ns16550 driver with slimbootloader specific platform data Signed-off-by: Aiden Park

[U-Boot] [PATCH v6 2/8] x86: Add a common HOB library

2019-07-26 Thread Park, Aiden
FSP(CONFIG_HAVE_FSP) and Slim Bootloader(CONFIG_SYS_SLIMBOOTLOADER) consume HOB(CONFIG_USE_HOB) data from the each HOB list pointer. Add a common HOB library in lib/hob.c and include/asm/hob.h. Signed-off-by: Aiden Park Reviewed-by: Bin Meng --- Changes in v6: * Use CONFIG_USE_HOB * Change

[U-Boot] [PATCH v6 1/8] x86: Add new slimbootloader CPU type

2019-07-26 Thread Park, Aiden
This slimbootloader CPU type is to enable U-Boot as a payload which runs on top of Slim Bootloader(https://github.com/slimbootloader). The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS booting, and supports QEMU, Apollolake, Whiskeylake and

Re: [U-Boot] [PATCH v5 7/8] board: intel: Add new slimbootloader board

2019-07-25 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Thursday, July 25, 2019 11:44 PM > To: Park, Aiden > Cc: Andy Shevchenko ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v5 7/8] board: intel: Add new

Re: [U-Boot] [PATCH v5 7/8] board: intel: Add new slimbootloader board

2019-07-23 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Tuesday, July 23, 2019 5:27 AM > To: Bin Meng > Cc: Park, Aiden ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v5 7/8] board: intel: A

Re: [U-Boot] [PATCH v5 5/8] x86: slimbootloader: Set TSC information for timer driver

2019-07-23 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Monday, July 22, 2019 8:42 AM > To: Park, Aiden > Cc: U-Boot Mailing List ; Simon Glass > ; Bin Meng > Subject: Re: [PATCH v5 5/8] x86: slimbootloader: Set TSC informati

Re: [U-Boot] [PATCH v5 4/8] x86: slimbootloader: Add serial driver

2019-07-23 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Monday, July 22, 2019 8:38 AM > To: Park, Aiden > Cc: U-Boot Mailing List ; Simon Glass > ; Bin Meng > Subject: Re: [PATCH v5 4/8] x86: slimbootloader: Add serial drive

Re: [U-Boot] [PATCH v5 3/8] x86: slimbootloader: Add memory configuration

2019-07-23 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Monday, July 22, 2019 8:34 AM > To: Park, Aiden > Cc: U-Boot Mailing List ; Simon Glass > ; Bin Meng > Subject: Re: [PATCH v5 3/8] x86: slimbootloader: Add memory conf

Re: [U-Boot] [PATCH v5 1/8] x86: Add new slimbootloader CPU type

2019-07-23 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Monday, July 22, 2019 8:14 AM > To: Park, Aiden > Cc: U-Boot Mailing List ; Simon Glass > ; Bin Meng > Subject: Re: [PATCH v5 1/8] x86: Add new slimbootloader CPU typ

Re: [U-Boot] [PATCH v5 0/8] x86: Add basic Slim Bootloader payload support

2019-07-21 Thread Park, Aiden
Hi Bin/Andy, > -Original Message- > From: Park, Aiden > Sent: Tuesday, July 16, 2019 9:41 PM > To: U-Boot Mailing List ; Simon Glass > ; Bin Meng ; Andy Shevchenko > > Subject: [PATCH v5 0/8] x86: Add basic Slim Bootloader payload support > > This patch is to

  1   2   >