23 Jan, 2020
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
08 Jan, 2020
1 commit
-
For testing UEFI FIT images we need FIT image support on QEMU.
Signed-off-by: Heinrich Schuchardt
04 Dec, 2019
1 commit
-
CONFIG_MTD must be reserved for the MTD core. Like any other
subsystem, prefix the symbol by DM when it comes to DM support.Signed-off-by: Miquel Raynal
Reviewed-by: Boris Brezillon
[trini: Add Kconfig files]
Signed-off-by: Tom Rini
21 Nov, 2019
1 commit
-
- In ARMv8 NXP Layerscape platforms we also need to make use of
CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
- On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
to 0.
- Add Kconfig entry for ENV_ADDR.
- Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
- Add ENV_xxx_REDUND options that depend on their primary option and
SYS_REDUNDAND_ENVIRONMENT
- On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
for the pre-main-U-Boot environment location.
- On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
rather it being non-zero, as it will now be zero by default.
- Rework the env_offset absolute in env/embedded.o to not use
CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
ENV_IS_IN_FLASH.
- Migrate all platforms.Cc: Wolfgang Denk
Cc: Joe Hershberger
Cc: Patrick Delaunay
Cc: uboot-stm32@st-md-mailman.stormreply.com
Signed-off-by: Tom Rini
Acked-by: Joe Hershberger
Reviewed-by: Simon Goldschmidt
18 Oct, 2019
1 commit
-
To reduce the default image size CONFIG_CMD_NVEDIT_EFI was disabled by
default. Re-enable it on the QEMU platforms supporting the UEFI sub-system.Signed-off-by: Heinrich Schuchardt
02 Aug, 2019
1 commit
-
This converts the following to Kconfig:
CONFIG_USE_PREBOOT
CONFIG_PREBOOTBoth are together in one commit, since otherwise the former causes kconfig
to define the latter, which gives duplicate symbol errors.Includes a manual fixup for CONFIG_PREBOOT in ids8313_defconfig since the
backslash lands in the wrong place. Similarly with socfpga_vining_fpga.Signed-off-by: Simon Glass
30 Apr, 2019
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
08 Jan, 2019
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
13 Dec, 2018
1 commit
-
Currently on qemu-arm platforms environment is kept in RAM. Instead
use pflash device 1 to provide persistent environment support across
device reset.Also (optionally) provide support for persistent environment across
qemu machine OFF/ON using following instructions:- Create envstore.img using qemu-img:
qemu-img create -f raw envstore.img 64M
- Add a pflash drive parameter to the command line:
-drive if=pflash,format=raw,index=1,file=envstore.imgSigned-off-by: Sumit Garg
15 Nov, 2018
1 commit
-
This adds a Kconfig file in the board directory, so that some
board-specific options can be specified there.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
14 Nov, 2018
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
24 Sep, 2018
1 commit
-
We should run the EFI selftest on both a 32bit and a 64bit ARM platform on
Travis to catch possible errors.Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf
17 Aug, 2018
1 commit
-
We have the following cases:
- CONFIG_NR_DRAM_BANKS was defined, migrate normally
- CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
- CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
2), set this to 8.Signed-off-by: Tom Rini
20 Jul, 2018
1 commit
-
QEMU provides an emulated ARM AMBA PrimeCell PL031 RTC.
The patch sets the base address in the board include file according to the
definition in hw/arm/virt.c of the QEMU source. It defines the Kconfig
option for the existing driver, and enables the RTC driver in
qemu_arm64_defconfig and qemu_arm_defconfig as well as the date command.We need an RTC to provide the GetTime() runtime service in the UEFI
subsystem.Signed-off-by: Heinrich Schuchardt
Reviewed-by: Tuomas Tynkkynen
Tested-by: Tuomas Tynkkynen
Signed-off-by: AKASHI Takahiro
11 Feb, 2018
1 commit
-
On the NIOS2 and Xtensa architectures, we do not have
CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
values into the defconfig and removing them from the headers.I did not attempt to add more default values in and for now will leave
that to maintainers.Signed-off-by: Tom Rini
20 Jan, 2018
1 commit
-
This adds support for '-machine virt' on AArch64. This is rather simple:
we just add TARGET_QEMU_ARM_xxBIT to select a few different Kconfig
symbols, provide the ARMv8 memory map from the board file and add a new
defconfig based on the 32-bit defconfig.Signed-off-by: Tuomas Tynkkynen
Reviewed-by: Tom Rini
13 Dec, 2017
1 commit
-
And use 'imply' liberally.
Signed-off-by: Tuomas Tynkkynen
11 Oct, 2017
1 commit
-
Having this as a 'default y' is rather annoying because it doesn't
actually compile unless other options are defined in the board header:../cmd/bootm.c: In function 'do_imls_nor':
../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {Make it 'default n' so people who develop new boards that start from a
blank defconfig have one less compilation failure to debug.Signed-off-by: Tuomas Tynkkynen
06 Oct, 2017
1 commit
-
This board builds an U-Boot binary that is bootable with QEMU's 'virt'
machine on ARM. The minimal QEMU command line is:qemu-system-arm -machine virt,highmem=off -bios u-boot.bin
(Note that the 'highmem=off' parameter to the 'virt' machine is required for
PCI to work in U-Boot.) This command line enables the following:
- u-boot.bin loaded and executing in the emulated flash at address 0x0
- A generated device tree blob placed at the start of RAM
- A freely configurable amount of RAM, described by the DTB
- A PL011 serial port, discoverable via the DTB
- An ARMv7 architected timer
- PSCI for rebooting the system
- A generic ECAM-based PCI host controller, discoverable via the DTBAdditionally, QEMU allows plugging a bunch of useful peripherals to the PCI bus.
The following ones are supported by both U-Boot and Linux:- To add a Serial ATA disk via an Intel ICH9 AHCI controller, pass e.g.:
-drive if=none,file=disk.img,id=mydisk -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0
- To add an Intel E1000 network adapter, pass e.g.:
-net nic,model=e1000 -net user
- To add an EHCI-compliant USB host controller, pass e.g.:
-device usb-ehci,id=ehci
- To add a NVMe disk, pass e.g.:
-drive if=none,file=disk.img,id=mydisk -device nvme,drive=mydisk,serial=fooSigned-off-by: Tuomas Tynkkynen