The NanoPi-R2S doesn't have eMMC so use the sdcard as the device
to save the environment variables
Signed-off-by: Emmanuel Vadot
---
configs/nanopi-r2s-rk3328_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/nanopi-r2s-rk3328_defconfig
b/configs/nanopi-r2s-rk3328_defc
-137,7 +137,8 @@
> #if CONFIG_IS_ENABLED(CMD_MMC)
> #define BOOT_TARGET_MMC(func) \
> func(MMC, mmc, 0) \
> - func(MMC, mmc, 1)
> + func(MMC, mmc, 1) \
> + func(MMC, mmc, 2)
> #else
> #define BOOT_TARGET_M
3,7 +173,8 @@
> #if CONFIG_IS_ENABLED(CMD_MMC)
> #define BOOT_TARGET_MMC(func) \
> func(MMC, mmc, 0) \
> - func(MMC, mmc, 1)
> + func(MMC, mmc, 1) \
> + func(MMC, mmc, 2)
> #else
> #define BOOT_TARGET_MMC(func)
> #endif
--
Emmanuel Vadot
if necessary by modifying the environment variable and
> saving the environment. And for a one-off boot from a different
> device they can simply run an appropriate boot command. The
> boot_targets variable in particular is documented in various install
> documents so it would probably be good of the new "bootmethod" code
> would respect this variable.
>
> For OpenBSD I'm not really interested in the bootflow part. As I
> explained in the past, that part of the problem is solved in a
> (mostly) uniform way across platforms by the OpenBSD bootloader which
> can read an /etc/boot.conf that allows bootflow customization. So as
> long as the default of the new code still results in
> \EFI\BOOT\BOOT{machine type short-name}.EFI being loaded and run if
> there is no U-Boot specific bootflow configured, I'm happy.
Mostly the same for FreeBSD, as long as the efi boot.efi is
loaded and run by default (respecting the boot_targets order) we will
be fine.
> I can't speak for the other BSDs, but my impression is that they are
> pretty much in the same position. The FreeBSD bootloader for example
> supports a high-degree of "bootflow" customization and I doubt that
> taking it out of the loop is a viable option for most users.
>
> > --
> > Tom
> >
> > [2:application/pgp-signature Show Save:signature.asc (659B)]
> >
--
Emmanuel Vadot
Hi Simon,
On Tue, 3 Nov 2020 08:11:59 -0700
Simon Glass wrote:
> Hi Hugh,
>
> On Wed, 14 Oct 2020 at 12:37, Hugh Cole-Baker wrote:
> >
> > Hello,
> > > On 11 Oct 2020, at 16:39, Emmanuel Vadot wrote:
> > >
> > >
> > > Hi Simon,
&
};
> +};
> +#endif
> +
> &cru {
> u-boot,dm-pre-reloc;
> };
> diff --git a/arch/arm/mach-rockchip/rk3399/Kconfig
> b/arch/arm/mach-rockchip/rk3399/Kconfig
> index 254b9c5b4d..17628f9171 100644
> --- a/arch/arm/mach-rockchip/rk3399/Kconfig
> +++ b/arch/arm/mach-rockchip/rk3399/Kconfig
> @@ -5,6 +5,8 @@ choice
>
> config TARGET_CHROMEBOOK_BOB
> bool "Asus Flip C101PA Chromebook (RK3399)"
> + select HAS_ROM
> + select ROCKCHIP_SPI_IMAGE
> help
> Bob is a small RK3299-based device similar in apperance to Minnie.
> It has two USB 3.0 type-C ports, 4GB of SDRAM, WiFi and a 10.1",
> --
> 2.28.0.rc0.105.gf9edc3c819-goog
>
--
Emmanuel Vadot
3399_defconfig
> +++ b/configs/rockpro64-rk3399_defconfig
> @@ -46,6 +46,8 @@ CONFIG_RAM_RK3399_LPDDR4=y
> CONFIG_BAUDRATE=150
> CONFIG_DEBUG_UART_SHIFT=2
> CONFIG_SYSRESET=y
> +CONFIG_SPI_FLASH_GIGADEVICE=y
> +CONFIG_ROCKCHIP_SPI=y
> CONFIG_USB=y
> CONFIG_USB_XHCI_HCD=y
> CONFIG_USB_XHCI_DWC3=y
> --
> 2.18.0.321.gffc6fa0e3
--
Emmanuel Vadot
rk3328 can use same-as-spl option so next loaders are loaded from the same
medium.
Add the boot order in the rock64 dts otherwise booting from sdcard
will result in u-boot looking into the eMMC.
Signed-off-by: Emmanuel Vadot
---
arch/arm/dts/rk3328-rock64-u-boot.dtsi | 5 +
1 file changed
)
Signed-off-by: Emmanuel Vadot
---
drivers/net/sun8i_emac.c | 29 +
1 file changed, 21 insertions(+), 8 deletions(-)
diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c
index c0a440886e..0629b16e57 100644
--- a/drivers/net/sun8i_emac.c
+++ b/drivers/net
Hi Jagan,
On Sun, 21 Apr 2019 22:42:45 +0530
Jagan Teki wrote:
> On Tue, Feb 5, 2019 at 4:24 PM Emmanuel Vadot wrote:
> >
> > Other make_fit script (like imx or sunxi) use the BL31 environment
> > variable to indicate the location of the file.
> > Also do that fo
NanoPi M1 plus have a 10/100/1000M ethernet with external phy.
Phy power is controlled by PD6.
Add the required configuration for it.
Signed-off-by: Emmanuel Vadot
---
configs/nanopi_m1_plus_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/nanopi_m1_plus_defconfig b
changed, 42 deletions(-)
> >
>
> Applied to u-boot-rockchip, thanks!
Looks like you also added some .rej files (see [1]).
This cause some problem each time we run make clean as it delete the
files etc ...
[1] :
http://git.denx.de/?p=u-boot.git;a=commit;h=2ec3d25f8faab51c2334174a582a96ad28d96344
--
Emmanuel Vadot
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Tue, 5 Feb 2019 12:05:57 +0100
Philipp Tomsich wrote:
>
>
> > On 05.02.2019, at 11:54, Emmanuel Vadot wrote:
> >
> > Other make_fit script (like imx or sunxi) use the BL31 environment
> > variable to indicate the location of the file.
> > Also do that f
Other make_fit script (like imx or sunxi) use the BL31 environment
variable to indicate the location of the file.
Also do that for rockchip so we don't need to copy the file in the source
directory.
Signed-off-by: Emmanuel Vadot
---
arch/arm/mach-rockchip/make_fit_atf.py | 2 +-
1 file ch
; >> - if (efi_is_direct_boot)
> >> - cleanup_before_linux();
> >> -#endif
> >> -}
> >> -
> >> /**
> >> * efi_exit_boot_services() - stop all boot services
> >> * @image_handle: handle of the loaded image
> &g
5_socrates.dts
> > > index 0d452ae300..7f9b48a839 100644
> > > --- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
> > > +++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
> > > @@ -11,6 +11,7 @@
> > >
> > > chosen {
> > > bootargs =
On Wed, 4 Jul 2018 09:25:16 +0200
Alexander Graf wrote:
> On 07/04/2018 09:08 AM, Emmanuel Vadot wrote:
> > When running with special configuration (OF_BOARD and mmc overlay)
> > RPI have the SD card as id 1.
> > This make device enumeration fails when using the API.
When running with special configuration (OF_BOARD and mmc overlay)
RPI have the SD card as id 1.
This make device enumeration fails when using the API.
Signed-off-by: Emmanuel Vadot
---
include/configs/rpi.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/rpi.h b/include
When booting with the rpi-firmware "mmc" overlay that disable
the SDHOST controller and use the SDHCI one for the sd card,
mmc 1 because a viable boot target.
Add it to the list
Signed-off-by: Oleksandr Tymoshenko
Signed-off-by: Emmanuel Vadot
---
include/configs/rpi.h | 1 +
1 file
When using CONFIG_OF_BOARD on rpi to use the dtb provided by the
RaspberryPi Fundation, the compatible string isn't the same, resulting
in not-functional usb from u-boot.
Signed-off-by: Oleksandr Tymoshenko
Signed-off-by: Emmanuel Vadot
---
drivers/usb/host/dwc2.c | 1 +
1 file chang
When using CONFIG_OF_BOARD on rpi to use the dtb provided by the
RaspberryPi Fundation, the compatible string isn't the same, resulting
in not-functional video in u-boot.
Signed-off-by: Oleksandr Tymoshenko
Signed-off-by: Emmanuel Vadot
---
drivers/video/bcm2835.c | 1 +
1 file chang
98550
Cheers,
Andre.
For fixing the issue we also need to add the compat to the timer in the
dts so kernels will also Apply the errata.
Booting is cool but if you boot a kernel that will have timer issue
it's not that great.
--
Emmanuel Vadot
hout PMUFW as if PMUFW_INIT_FILE were empty.
> >
> > Tested in the 12 possible combinations of:
> > - PMUFW_INIT_FILE empty, relative, absolute, non-existing
> > - building in-tree, in subdir, in other directory
> >
> > Signed-off-by: Luca Ceresoli
> >
Hi Luca,
On Mon, 4 Jun 2018 12:23:17 +0200
Luca Ceresoli wrote:
> Hi Emmanuel,
>
> On 31/05/2018 17:14, Emmanuel Vadot wrote:
> > On Thu, 31 May 2018 16:28:46 +0200
> > Michal Simek wrote:
> >
> >> On 31.5.2018 14:58, Luca Ceresoli wrote:
> >>&g
who build u-boot on BSD system?
> I would like to know if this readlink -m works there.
>
> Thanks,
> Michal
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
We don't have -m on FreeBSD and after checking they don't either on
OpenBSD and NetBSD.
Cheers,
--
Emmanuel Vadot
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Hi Faiz,
On Tue, 22 May 2018 11:47:41 +0530
Faiz Abbas wrote:
> Hi,
>
> On Monday 30 April 2018 02:03 PM, Emmanuel Vadot wrote:
> > Hi,
> >
> > In order to correctly exectute some binaries on some arch we need to flush
> > the data cache or instructi
On Mon, 30 Apr 2018 10:37:50 +0200
"Dr. Philipp Tomsich" wrote:
>
> > On 30 Apr 2018, at 10:34, Emmanuel Vadot wrote:
> >
> > Signed-off-by: Emmanuel Vadot
> > ---
> > api/api.c | 11 +++
> > 1 file changed, 11 insertions(+)
>
ies (like this one
> here), until we are reasonably confident about the DT.
> Does that sound useful?
>
> So I am not insisting on this patch, but wanted to point out the
> problems that those seemingly innocent DT changes create and would be
> happy if we can at least try to avo
On Tue, 9 Jan 2018 15:59:23 -0500
Tom Rini wrote:
> On Mon, Dec 04, 2017 at 07:33:45PM +0100, Emmanuel Vadot wrote:
>
> > From: Warner Losh
> >
> > Some application might load some code at location that contain stale
> > cache entries. Before running a elf o
On Sun, 7 Jan 2018 21:39:01 -0700
Simon Glass wrote:
> Hi Emmanuel,
>
> On 2 January 2018 at 14:27, Emmanuel Vadot wrote:
> > As do_bootm/do_booti/do_bootz will not return if the boot succeded, always
> > call them if enable by the config.
> > Also add a fallback t
Hello Simon,
On Sun, 7 Jan 2018 21:38:29 -0700
Simon Glass wrote:
> Hi Emmanuel,
>
> On 2 January 2018 at 14:27, Emmanuel Vadot wrote:
> > Some commands (like sysboot) might want to call go as they can encounter
> > a raw binary.
> > Make do_go callable for ever
As do_bootm/do_booti/do_bootz will not return if the boot succeded, always
call them if enable by the config.
Also add a fallback to go if the binary is a raw one.
Signed-off-by: Emmanuel Vadot
---
cmd/pxe.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/cmd
Some commands (like sysboot) might want to call go as they can encounter
a raw binary.
Make do_go callable for everyone.
Signed-off-by: Emmanuel Vadot
---
cmd/boot.c| 2 +-
include/command.h | 4
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/cmd/boot.c b/cmd/boot.c
one of the valid/likelu compressions
> > > > for an Image (and aside, I, or someone, needs to look into having
> > > > 'booti' recognize various compression algorithms and automatically
> > > > decompress them) so I don
efi_loader/efi_boottime.c| 228
> > +--
> > lib/efi_loader/efi_device_path.c | 56 ++--
> > lib/efi_loader/efi_device_path_to_text.c | 43 --
> > lib/efi_loader/helloworld.c | 3 +-
> > 6 files chan
On Tue, 12 Dec 2017 20:29:42 +0100
Heinrich Schuchardt wrote:
> On 12/12/2017 10:03 AM, Emmanuel Vadot wrote:
> >
> > Hi Heinrich,
> >
> > On Mon, 4 Dec 2017 20:18:22 +0100
> > Heinrich Schuchardt wrote:
> >
> >> On 12/04/2017 08:06 PM, Emm
Hi Heinrich,
On Mon, 4 Dec 2017 20:18:22 +0100
Heinrich Schuchardt wrote:
> On 12/04/2017 08:06 PM, Emmanuel Vadot wrote:
> > Add commands that scans for the FreeBSD loader and run it if found.
> > FreeBSD has two loader: ubldr which is an ELF binary and ubldr.bin which
>
When adding a partition, set the logical_partition member in the media
structure as mandated by the UEFI spec.
Signed-off-by: Emmanuel Vadot
---
lib/efi_loader/efi_disk.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c
index 4e457a841b
Add a FreeBSD option that enables the API and the data cache command
as both are needed to boot the FreeBSD loader.
Signed-off-by: Emmanuel Vadot
---
common/Kconfig | 11 +++
1 file changed, 11 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index c50d6ebb2a..acf20ade1d
Add commands that scans for the FreeBSD loader and run it if found.
FreeBSD has two loader: ubldr which is an ELF binary and ubldr.bin which
is a PIE binary.
Signed-off-by: Emmanuel Vadot
---
include/config_distro_bootcmd.h | 32
1 file changed, 32 insertions
From: Warner Losh
Some application might load some code at location that contain stale
cache entries. Before running a elf or raw binary, flush the caches
if they are enabled.
Reviewed-by: Tom Rini
Signed-off-by: Emmanuel Vadot
---
api/api.c | 5 +
cmd/boot.c | 4
cmd/elf.c | 5
is not able to format any filesystem. We could just
> flash a raw FAT filesystem though, but looking into it might help for
> the environment discussion.
Also note that if we go to 16MB for the size you need to tweek
clusters and other properties for FAT32 as using the default ones w
stem.
> >
> > Do you feel that's too big? We are talking about at least 8GB eMMCs
> > mostly here, right?
> >
> >>> It's debatable whether we need a system partition defined at this stage.
> >>> Can't this just left be unpartitioned, to be actually populated later?
> >> This would break the cases I talked about earlier.
> > Fair enough.
>
> The reason I'm not fully comfortable with prepopulated system partitions
> is mostly because I'm not sure all installers will deal with them
> properly. Some might decide you're better off resizing a system
> partition rather than removing it - and if there's nothing useful inside
> that may be the wrong choice.
>
> But that's nothing earth shattering. If you do need a system partition
> to have other installers work well, that's ok too I guess.
>
> >
> >>> In a MBR/GPT scenario I would expect a big partition covering the whole
> >>> device causes headache later on.
> >> What kind of headaches?
> > Just thinking if an installer wants to add partitions (swap, /home, ...)
> > it might be easier if some space is actually left unpartitioned.
> > But that's just my non-embedded experience, where adding partitions is
> > easier and safer, compared to deleting or resizing an existing partition.
>
> Yup, exactly that :)
>
>
> Alex
>
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
--
Emmanuel Vadot
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Wed, 19 Jul 2017 16:26:13 +1000
Jonathan Gray wrote:
> On Tue, Jun 20, 2017 at 09:02:29AM +0200, Emmanuel Vadot wrote:
> > endian.h on FreeBSD system exist in sys/ subdirectory.
> > FreeBSD already have a fls function defined in strings.h which is included
> > in string.
FreeBSD recently switch to it's BSDL dtc. While it support most of the
features of the GPL one it still lacks the incbin directive.
Add the possibility to specify which dtc we want to use for compiling dts
and generating fit image.
Signed-off-by: Emmanuel Vadot
---
Makefile| 2 +-
On Tue, 20 Jun 2017 14:08:08 +0200
Alexander Graf wrote:
>
>
> On 20.06.17 14:02, Ard Biesheuvel wrote:
> > On 20 June 2017 at 13:55, Alexander Graf wrote:
> >>
> >>
> >> On 20.06.17 08:35, Emmanuel Vadot wrote:
> >>>
> >>> Wh
endian.h on FreeBSD system exist in sys/ subdirectory.
FreeBSD already have a fls function defined in strings.h which is included
in string.h if __BSD_VISIBLE is defined, as a check for this.
Signed-off-by: Emmanuel Vadot
---
lib/bch.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a
While MBR partition isn't supposed to work in a EFI environment some
board rely partially or fully on MBR (BeagleBone, RPI and probably others).
This export the MBR partition as logical partition which is useful to efi
application that cannot read raw disks.
Signed-off-by: Emmanuel
Define a default number of 1 for mmc max device if board config didn't
specify one.
Signed-off-by: Emmanuel Vadot
---
api/api_storage.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/api/api_storage.c b/api/api_storage.c
index f858f09f1a..8bed2f3c91 100644
--- a/api/api_storage.c
While MBR partition isn't supposed to work in a EFI environment some
board rely partially or fully on MBR (BeagleBone, RPI and probably others).
This export the MBR partition as logical partition which is useful to efi
application that cannot read raw disks.
Signed-off-by: Emmanuel
selecting voltages which is
> done later using a switch case and match usb current limit as
> before the commit 0650798824.
>
> Fixes: 0650798824 ("board: am335x: Introduce scale_vcores")
> Reported-by: Emmanuel Vadot
> Signed-off-by: Lokesh Vutla
Thanks, my BBB
t; >>>>Am 09.06.2017 um 02:45 schrieb Tom Rini:
> > >>>>>On Thu, Jun 08, 2017 at 10:17:09AM +0530, Lokesh Vutla wrote:
> > >>>>>>
> > >>>>>>
> > >>>>>>On Thursday 08 June 2017 12:20 AM, Emmanuel Vadot w
On Thu, 8 Jun 2017 10:17:09 +0530
Lokesh Vutla wrote:
>
>
> On Thursday 08 June 2017 12:20 AM, Emmanuel Vadot wrote:
> > On Fri, 12 May 2017 13:20:50 -0400
> > Tom Rini wrote:
> >
> >> On Fri, May 05, 2017 at 12:59:10PM +0530, Lokesh Vutla wrote:
>
9ff9e810
r3 : 9df3b0a8 r2 : r1 : 0020 r0 : 9ff9e820
Flags: nzCv IRQs off FIQs on Mode SVC_32
Resetting CPU ...
resetting ...
--
Emmanuel Vadot
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
linux? I
> >> see it happening in the logs that periodically all dts files are synced,
> >> but
> >> don't know how we do this.
> >
> > Just copy the files (or symlinks) directly from the kernel, and make a
> > patch.
> Ah fair enough. Easy :)
On Wed, 8 Feb 2017 10:00:54 -0500
Tom Rini wrote:
> On Tue, Jan 31, 2017 at 12:17:06PM +0100, Emmanuel Vadot wrote:
>
> > From: Warner Losh
> >
> > Some application might load some code at location that contain stale
> > cache entries. Before running a elf o
Add kconfig file to enable API support
Signed-off-by: Emmanuel Vadot
---
Kconfig | 2 ++
api/Kconfig | 9 +
2 files changed, 11 insertions(+)
create mode 100644 api/Kconfig
diff --git a/Kconfig b/Kconfig
index 8f9ea97f3d..2a65f07044 100644
--- a/Kconfig
+++ b/Kconfig
@@ -308,6
From: Warner Losh
Some application might load some code at location that contain stale
cache entries. Before running a elf or raw binary, flush the caches
if they are enabled.
Reviewed-by: Tom Rini
Signed-off-by: Emmanuel Vadot
---
api/api.c | 5 +
cmd/boot.c | 4
cmd/elf.c | 5
Add a FreeBSD option that enables the API and the data cache command
as both are needed to boot the FreeBSD loader.
Signed-off-by: Emmanuel Vadot
---
common/Kconfig | 11 +++
1 file changed, 11 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index 9067d1e277..a24cfa996a
Add commands that scans for the FreeBSD loader and run it if found.
FreeBSD has two loader: ubldr which is an ELF binary and ubldr.bin which
is a PIE binary.
Signed-off-by: Emmanuel Vadot
---
include/config_distro_bootcmd.h | 32
1 file changed, 32 insertions
Now that we have a Kconfig for the API, convert the two boards that
are using this to Kconfig and remove CONFIG_API from the whitelist.
Signed-off-by: Emmanuel Vadot
---
configs/PMC440_defconfig | 1 +
configs/lsxhl_defconfig | 1 +
include/configs/PMC440.h | 2 --
include/configs
the help of Kconfig API
Changes in v2:
Remove SYS_DCACHE_OFF option
Flush dcache/icache in go/boot command
Flush dcache/icache in API closedev
Emmanuel Vadot (4):
kconfig: Add API kconfig file
api: Convert to Kconfig
distro_bootcmd: Add command to run FreeBSD
kconfig: Add a
On Thu, 26 Jan 2017 18:08:49 +0100
Alexander Graf wrote:
> On 01/26/2017 05:46 PM, Emmanuel Vadot wrote:
> > Add a FreeBSD option that enables the API and the data cache command
> > as both are needed to boot the FreeBSD loader.
> >
> > Signed-off-by: Emmanuel Vadot
&
On Thu, 26 Jan 2017 18:17:47 +0100
Andreas Färber wrote:
> Am 26.01.2017 um 17:46 schrieb Emmanuel Vadot:
> > Add kconfig file to enable API support
> >
> > Signed-off-by: Emmanuel Vadot
> > ---
> > Kconfig | 2 ++
> > api/Kconfig | 9 ++
From: Warner Losh
FreeBSD loader(8) just loaded code to some random location that may
contain stale icache entries.
FreeBSD Kernel needs the icache and dcache flushed.
Before running either one of them, flush the icache and dcache.
Signed-off-by: Emmanuel Vadot
---
api/api.c | 5 +
cmd
Add a FreeBSD option that enables the API and the data cache command
as both are needed to boot the FreeBSD loader.
Signed-off-by: Emmanuel Vadot
---
common/Kconfig | 9 +
1 file changed, 9 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index 9067d1e277..2fe19d354b 100644
Add commands that scans for the FreeBSD loader and run it if found.
FreeBSD has two loader: ubldr which is an ELF binary and ubldr.bin which
is a PIE binary.
Signed-off-by: Emmanuel Vadot
---
include/config_distro_bootcmd.h | 32
1 file changed, 32 insertions
Add kconfig file to enable API support
Signed-off-by: Emmanuel Vadot
---
Kconfig | 2 ++
api/Kconfig | 9 +
2 files changed, 11 insertions(+)
create mode 100644 api/Kconfig
diff --git a/Kconfig b/Kconfig
index cb19ce6f87..2073d933d9 100644
--- a/Kconfig
+++ b/Kconfig
@@ -307,6
closedev
Emmanuel Vadot (3):
kconfig: Add API kconfig file
kconfig: Add a FREEBSD option
distro_bootcmd: Add command to run FreeBSD
Warner Losh (1):
api: FreeBSD: flush cache before starting
Kconfig | 2 ++
api/Kconfig | 9 +
api/api.c
Hi Tom,
On Mon, 23 Jan 2017 09:51:59 -0500
Tom Rini wrote:
> On Sat, Jan 21, 2017 at 09:22:47PM -0700, Warner Losh wrote:
> > On Fri, Jan 20, 2017 at 8:51 PM, Simon Glass wrote:
> > > Hi,
> > >
> > > On 17 January 2017 at 08:50, Emmanuel Vadot wrote:
&
> # Build a libfdt Python module if swig is available
> # Use 'sudo apt-get install swig libpython-dev' to enable this
> -hostprogs-y += \
> +hostprogs-$(CONFIG_SPL_OF_PLATDATA) += \
> $(if $(shell which swig 2> /dev/null),_libfd
Hi Simon,
On Fri, 20 Jan 2017 20:51:54 -0700
Simon Glass wrote:
> Hi,
>
> On 17 January 2017 at 08:50, Emmanuel Vadot wrote:
> > From: Warner Losh
> >
> > FreeBSD loader(8) just loaded code to some random location that may
> > contain stale icache entr
On Fri, 20 Jan 2017 20:51:48 -0700
Simon Glass wrote:
> Hi,
>
> On 17 January 2017 at 08:50, Emmanuel Vadot wrote:
> > Add kconfig file to enable API support
> >
> > Signed-off-by: Emmanuel Vadot
> > ---
> > Kconfig | 2 ++
> > api/K
Instead of disabling the data cache in the bootelf command, disabling
it in the do_bootm_qnxelf function.
Some ELF binary might want the cache enabled.
Signed-off-by: Emmanuel Vadot
---
cmd/elf.c | 11 ---
common/bootm_os.c | 12
2 files changed, 12 insertions
On Tue, 17 Jan 2017 21:58:31 +0100
Alexander Graf wrote:
>
>
> On 17/01/2017 21:45, Emmanuel Vadot wrote:
> > On Tue, 17 Jan 2017 21:13:51 +0100
> > Alexander Graf wrote:
> >
> >>
> >>
> >> On 17/01/2017 16:50, Emmanuel Vadot wrote:
>
On Tue, 17 Jan 2017 21:13:51 +0100
Alexander Graf wrote:
>
>
> On 17/01/2017 16:50, Emmanuel Vadot wrote:
> > From: Warner Losh
> >
> > FreeBSD loader(8) just loaded code to some random location that may
> > contain stale icache entries.
> > FreeBSD Ker
Hi Stefan,
On Tue, 17 Jan 2017 10:08:54 -0800
Stefan Agner wrote:
> On 2017-01-17 07:50, Emmanuel Vadot wrote:
> > This series of patches add the needed bits for booting the FreeBSD
> > loader and kernel.
> > FreeBSD loader and kernel needs the U-Boot API and dcache/icac
Hi Alexander,
On Tue, 17 Jan 2017 20:36:59 +0100
Alexander Graf wrote:
>
>
> On 17/01/2017 16:50, Emmanuel Vadot wrote:
> > This series of patches add the needed bits for booting the FreeBSD
> > loader and kernel.
> > FreeBSD loader and kernel needs the U-Boot AP
Hi Andreas,
On Tue, 17 Jan 2017 18:16:58 +0100
Andreas Färber wrote:
> Am 17.01.2017 um 16:50 schrieb Emmanuel Vadot:
> > Add kconfig file to enable API support
> >
> > Signed-off-by: Emmanuel Vadot
> > ---
> > Kconfig | 2 ++
> > api/Kconfig
FreeBSD loader
if found.
Changes in v2:
Remove SYS_DCACHE_OFF option
Flush dcache/icache in go/boot command
Flush dcache/icache in API closedev
Emmanuel Vadot (3):
kconfig: Add API kconfig file
kconfig: Add a FREEBSD option
distro_bootcmd: Add command to run FreeBSD
Warner Losh (1
Add a FreeBSD option that enable the API and enable the data cache
command as it is needed to boot the FreeBSD loader.
Signed-off-by: Emmanuel Vadot
---
common/Kconfig | 9 +
1 file changed, 9 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index a04ee1084f..b719ccd888
From: Warner Losh
FreeBSD loader(8) just loaded code to some random location that may
contain stale icache entries.
FreeBSD Kernel needs the icache and dcache flushed.
Before running either one of them, flush the icache and dcache.
Signed-off-by: Emmanuel Vadot
---
api/api.c | 5 +
cmd
Add commands that scans for the FreeBSD loader and run it if found.
FreeBSD has two loader: ubldr which is an ELF binary and ubldr.bin which
is a PIE binary.
Signed-off-by: Emmanuel Vadot
---
include/config_distro_bootcmd.h | 32
1 file changed, 32 insertions
Add kconfig file to enable API support
Signed-off-by: Emmanuel Vadot
---
Kconfig | 2 ++
api/Kconfig | 9 +
2 files changed, 11 insertions(+)
create mode 100644 api/Kconfig
diff --git a/Kconfig b/Kconfig
index 39a4d938d8..6a93d8820f 100644
--- a/Kconfig
+++ b/Kconfig
@@ -306,6
The built _libfdt.so is placed in the /tools dir and need to say here
as it contains relative paths.
Add the directory to the python path so binman can use this module.
Signed-off-by: Emmanuel Vadot
---
tools/binman/binman.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/binman
Do not rely on CONFIG_SPL_OF_PLATDATA to build the libfdt python module.
If swig is present, this will be build
Signed-off-by: Emmanuel Vadot
---
tools/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefile
index 5b81dde4b0..a609d05859
On Wed, 11 Jan 2017 22:08:03 -0700
Simon Glass wrote:
> Hi Emmanuel,
>
> On 28 December 2016 at 03:57, Emmanuel Vadot wrote:
> > On Wed, 28 Dec 2016 11:30:10 +0100
> > Emmanuel Vadot wrote:
> >
> >>
> >> Hello Simon,
> >>
> >
for this
class.
This patch fixes this by testing all devices for each class.
Signed-off-by: Emmanuel Vadot
---
api/api_storage.c | 98 +++
1 file changed, 34 insertions(+), 64 deletions(-)
diff --git a/api/api_storage.c b/api/api_storag
On Mon, 2 Jan 2017 16:30:05 -0500
Tom Rini wrote:
> On Sat, Dec 31, 2016 at 07:05:50PM +0100, Emmanuel Vadot wrote:
>
> > Add memset.S to the needed object for the API example and do not
> > hardcode powerpc as the arch for library assembly files.
> >
> >
Add memset.S to the needed object for the API example and do not
hardcode powerpc as the arch for library assembly files.
Signed-off-by: Emmanuel Vadot
---
examples/api/Makefile | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/examples/api/Makefile b/examples/api/Makefile
On Wed, 28 Dec 2016 11:30:10 +0100
Emmanuel Vadot wrote:
>
> Hello Simon,
>
> On Fri, 23 Dec 2016 01:39:06 -0700
> Simon Glass wrote:
>
> > On 18 December 2016 at 19:48, Tom Rini wrote:
> > > On Fri, Nov 25, 2016 at 08:16:01PM -0700, Simon Glass wrote:
>
; >> to the device tree and using it in the Makefile.
> >>
> >> Signed-off-by: Simon Glass
> >
> > Reviewed-by: Tom Rini
> >
> > --
> > Tom
>
> Applied to u-boot-dm and now in mainline.
Shouldn't all the config for sunxi
Some OS (all BSD and probably others) do not have python in /usr/bin
but in another directory.
It is a common usage to use /usr/bin/env python as shebang for python
scripts so use this for binman.
Signed-off-by: Emmanuel Vadot
---
tools/binman/binman.py | 2 +-
1 file changed, 1 insertion(+), 1
The current code can loop undefinitly as it doesn't parse
correctly the env data.
Since the env is an hashtable, use the hashtable function for
the API_ENV_ENUM api call.
Signed-off-by: Emmanuel Vadot
---
Changes in v2:
* Explain why the change is needed.
api/api.c
also valuable, as Allwinner's display
> >>> parts
> >>> are really in reusable components.
> >>>
> >>> In addition, Driver Model provides the possibility to use EFI GOP, which
> >>> can
> >>> be a more standardized replac
On Fri, 11 Nov 2016 09:16:46 -0700
Simon Glass wrote:
> Hi,
>
> On 5 November 2016 at 15:27, Emmanuel Vadot wrote:
> >
> > Since the env is an hashtable, use the hashtable function for the
> > API_ENV_ENUM
> > api call.
>
> Can you please explain why
On Fri, 11 Nov 2016 11:07:34 -0500
Tom Rini wrote:
> On Mon, Nov 07, 2016 at 09:34:27AM +0100, Emmanuel Vadot wrote:
>
> > This series of patches add the needed bits for booting the FreeBSD
> > loader.
> > FreeBSD loader needs the U-Boot API and dache disabled for it t
:
Add mode switch
Report only the modes that we support
Signed-off-by: Emmanuel Vadot
---
lib/efi_loader/efi_console.c | 100 ---
1 file changed, 84 insertions(+), 16 deletions(-)
diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c
Add kconfig file to enable API support
Signed-off-by: Emmanuel Vadot
---
Kconfig | 2 ++
api/Kconfig | 9 +
2 files changed, 11 insertions(+)
create mode 100644 api/Kconfig
diff --git a/Kconfig b/Kconfig
index 1263d0b..6e7c9b0 100644
--- a/Kconfig
+++ b/Kconfig
@@ -335,6 +335,8
Add a FreeBSD option that enable the API and disable the data cache as
it is needed to boot the FreeBSD loader.
Signed-off-by: Emmanuel Vadot
---
common/Kconfig | 9 +
1 file changed, 9 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index 913d21a..73cd205 100644
--- a
1 - 100 of 114 matches
Mail list logo