History log of /rk3399_rockchip-uboot/Makefile (Results 1 – 25 of 2314)
Revision Date Author Comments
# c2b281d0 14-Sep-2023 Joseph Chen <chenjh@rock-chips.com>

Makefile: Add FWVER and SPL_FWVER args support for make

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I8cb3306e4ae3f97301f35cb724f1b1ba012de61a


# 6bbad2a6 18-Mar-2022 Joseph Chen <chenjh@rock-chips.com>

Revert "Makefile: Add u-boot.bin.lzma target"

This reverts commit fd2d88e11b2e616fac3c61b37feeabd5a37f106c.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ife6a637c57565a683533651e94

Revert "Makefile: Add u-boot.bin.lzma target"

This reverts commit fd2d88e11b2e616fac3c61b37feeabd5a37f106c.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ife6a637c57565a683533651e9467db672b23d430

show more ...


# fd2d88e1 02-Mar-2022 Joseph Chen <chenjh@rock-chips.com>

Makefile: Add u-boot.bin.lzma target

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I456d5b48518159b01ca947e3bc5786a8b89f83ba


# 53138e05 14-Feb-2022 Joseph Chen <chenjh@rock-chips.com>

common: spl: Add decompress header support

Image:
SPL = spl decomp header + U-Boot proper(lzma)

Bootflow:
Maskrom => ddr => spl decomp header => U-Boot proper => kernel

Tested on RV1126 `grep

common: spl: Add decompress header support

Image:
SPL = spl decomp header + U-Boot proper(lzma)

Bootflow:
Maskrom => ddr => spl decomp header => U-Boot proper => kernel

Tested on RV1126 `grep ^CONFIG_SPL_ .config`:
CONFIG_SPL_SYS_THUMB_BUILD=y
CONFIG_SPL_USE_ARCH_MEMCPY=y
CONFIG_SPL_USE_ARCH_MEMSET=y
CONFIG_SPL_LDSCRIPT="arch/$(ARCH)/cpu/u-boot-spl.lds"
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_SPL_FIT_GENERATOR=""
CONFIG_SPL_SYS_MALLOC_F_LEN=0x300000
CONFIG_SPL_FIT_SOURCE=""
CONFIG_SPL_FIT_IMAGE_KB=2048
CONFIG_SPL_FIT_IMAGE_MULTIPLE=2
CONFIG_SPL_LOGLEVEL=4
CONFIG_SPL_DECOMP_HEADER=y
CONFIG_SPL_BOARD_INIT=y
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
CONFIG_SPL_SKIP_RELOCATE=y
CONFIG_SPL_OF_CONTROL=y
CONFIG_SPL_DM=y
CONFIG_SPL_TINY_MEMSET=y
CONFIG_SPL_LZMA=y

Change-Id: If29b11c4c871fefc424e0b7b4ef9ad3cbe0e979a
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# cbca0320 13-Mar-2019 Stefano Babic <sbabic@denx.de>

Add target to generate initial environment

The initial environment is linked to the u-boot binary. Modifying the
environment from User Space with the env tools requires that the tools
are always bui

Add target to generate initial environment

The initial environment is linked to the u-boot binary. Modifying the
environment from User Space with the env tools requires that the tools
are always built together with the bootloader to be sure that they
contain the initial environment in case no environment is stored into
persistent storage or when a board boots with just the default
environment. This makes difficult for distros to provide a general
package to access the environment. A simpler way is if the tools are
generic for all boards and a configuration file is given to provide the
initial environment.

The patch just generates the initial environment by extracting it from
the compiled object. This file can then be used for tools in user space
to initialize the environment.

Signed-off-by: Stefano Babic <sbabic@denx.de>
(cherry picked from commit bdaa73a5b3923257add182b4ab8058dbfa33421b)

Change-Id: I0968346510f814a12cb357c40c7785473a7aabfc
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>

show more ...


# cc9b5dda 14-Nov-2017 Stefan Agner <stefan.agner@toradex.com>

envtools: make sure version/timestamp header file are available

With commit 84d46e7e8948 ("tools: env: allow to print U-Boot version")
the fw_env utilities need the version.h header file. Building o

envtools: make sure version/timestamp header file are available

With commit 84d46e7e8948 ("tools: env: allow to print U-Boot version")
the fw_env utilities need the version.h header file. Building only
the envtools in a pristine build directory will fail due to missing
header files.

Make sure the header files are a dependency of the envtools target.

Fixes: 84d46e7e8948 ("tools: env: allow to print U-Boot version")
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit ded84f90a1066eef5f34daa4539273de64f7b811)

Change-Id: I9b019f1e757271fe19f8ef789d41a849619d699b
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>

show more ...


# 6e95faaf 26-Aug-2021 Joseph Chen <chenjh@rock-chips.com>

Makefile: Clean more files

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I4c29022d66d54e5c1f11cf0388e00026aa341c29


# e863c94a 29-Nov-2019 Andy Shevchenko <andriy.shevchenko@linux.intel.com>

[BACKPORT]: gcc-9: silence 'address-of-packed-member' warning

GCC 9.x starts complaining about potential misalignment of the pointer to
the array (in this case alignment=2) in the packed (alignment=

[BACKPORT]: gcc-9: silence 'address-of-packed-member' warning

GCC 9.x starts complaining about potential misalignment of the pointer to
the array (in this case alignment=2) in the packed (alignment=1) structures.

Repeating Linus' Torvalds commit 6f303d60534c in the Linux kernel.

Original commit message:

We already did this for clang, but now gcc has that warning too.
Yes, yes, the address may be unaligned. And that's kind of the point.

This in particular hides the warnings like

drivers/usb/gadget/composite.c:545:23: warning: taking address of packed member of ‘struct usb_string_descriptor’ may result in an unaligned pointer value [-Waddress-of-packed-member]
545 | collect_langs(sp, s->wData);

drivers/usb/gadget/composite.c:550:24: warning: taking address of packed member of ‘struct usb_string_descriptor’ may result in an unaligned pointer value [-Waddress-of-packed-member]
550 | collect_langs(sp, s->wData);

drivers/usb/gadget/composite.c:555:25: warning: taking address of packed member of ‘struct usb_string_descriptor’ may result in an unaligned pointer value [-Waddress-of-packed-member]
555 | collect_langs(sp, s->wData);

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Change-Id: I49fd82d88be4974f38ce78bf2193ee296a19c87f

show more ...


# 03781805 10-Mar-2021 Joseph Chen <chenjh@rock-chips.com>

rockchip: kernel dtb: support always use embed kernel dtb

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I7197c65dc315eb513f072a325cf57c2a079c0674


# abfd1c5e 02-Feb-2021 Joseph Chen <chenjh@rock-chips.com>

rockchip: support assign kernel dtb name which is build-in

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I708b8b41ef5cda59bca78eafb4ecacd568528e75


# 4a2b8db4 19-May-2020 Joseph Chen <chenjh@rock-chips.com>

common: add usbplug support

- disable some message
- add "usbplug.bin" generation
- add minimum usbplug dtb support
- add individual board_init_r() init sequence.

Signed-off-by: Joseph Chen <chenjh

common: add usbplug support

- disable some message
- add "usbplug.bin" generation
- add minimum usbplug dtb support
- add individual board_init_r() init sequence.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: If48ee49247fca6108db3a1fbab3b403241b3a8eb

show more ...


# 1a4f6af8 02-Mar-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# fcdd83d4 17-Feb-2020 Joseph Chen <chenjh@rock-chips.com>

dts: Makefile: simplify the logic of kernel dtb feature

Our purpose is replacing the u-boot.dtb with u-boot-spl.dtb
when kernel dtb feature is enabled. The current logic is too
complicated and not e

dts: Makefile: simplify the logic of kernel dtb feature

Our purpose is replacing the u-boot.dtb with u-boot-spl.dtb
when kernel dtb feature is enabled. The current logic is too
complicated and not easy to extend new features.

The best way is to generate but not replace a u-boot.dtb the
same as u-boot-spl.dtb during DTB compile process.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I678ec7c60c91ecc6f6f0a935e50a691c52c94162

show more ...


# f6ce6072 01-Oct-2019 Vignesh Raghavendra <vigneshr@ti.com>

UPSTREAM: usb: Add Cadence USB3 host and gadget driver

Add support for USB3 host and gadget driver. This is a direct sync of
Linux kernel Cadence USB stack that from v5.4-rc1 release.
Driver has bee

UPSTREAM: usb: Add Cadence USB3 host and gadget driver

Add support for USB3 host and gadget driver. This is a direct sync of
Linux kernel Cadence USB stack that from v5.4-rc1 release.
Driver has been modified so that it compiles without errors against
U-Boot code base.
Features not required for U-Boot such as scatter-gather DMA and OTG
interrupt handling has been dropped.

Change-Id: I168e032f35d259ad1bb7a7f9f3c066bd13f129d4
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
[jjhiblot@ti.com: Add PHY support]
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 7e91f6ccdc84fe5952e5c26769e65d12e5fc4733)

show more ...


# 369e944c 12-Dec-2019 Joseph Chen <chenjh@rock-chips.com>

fdt/Makefile: make u-boot-dtb.bin 8-byte aligned

The dts/kern.dtb is appended after u-boot-dtb.bin for U-disk boot.

Make sure u-boot-dtb.bin is 8-byte aligned to avoid data-abort on
calling: fdt_ch

fdt/Makefile: make u-boot-dtb.bin 8-byte aligned

The dts/kern.dtb is appended after u-boot-dtb.bin for U-disk boot.

Make sure u-boot-dtb.bin is 8-byte aligned to avoid data-abort on
calling: fdt_check_header(gd->fdt_blob_kern).

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Id5f2daf0c5446e7ea828cb970d3d4879e3acda86

show more ...


# b8dc613c 19-Nov-2019 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 5704c899 21-Oct-2019 Joseph Chen <chenjh@rock-chips.com>

fdtdec: support pack "kern.dtb" to the end of u-boot.bin

- It provides a way to promise kernel dtb can be loaded successfully
even when the image is damaged.
- This makes developers easily to add

fdtdec: support pack "kern.dtb" to the end of u-boot.bin

- It provides a way to promise kernel dtb can be loaded successfully
even when the image is damaged.
- This makes developers easily to add what they what just like a "U-Boot" dtb.
- The kern.dtb file is pack into the end of u-boot.bin while ./dts/kern.dtb
is exist.

Change-Id: I93a36a9c65ea8719e5610cdcbcc7708e5337c53f
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# cfcc706c 16-Aug-2018 Miquel Raynal <miquel.raynal@bootlin.com>

UPSTREAM: mtd: move NAND files into a raw/ subdirectory

NAND flavors, like serial and parallel, have a lot in common and would
benefit to share code. Let's move raw (parallel) NAND specific code in

UPSTREAM: mtd: move NAND files into a raw/ subdirectory

NAND flavors, like serial and parallel, have a lot in common and would
benefit to share code. Let's move raw (parallel) NAND specific code in a
raw/ subdirectory, to ease the addition of a core file in nand/ and the
introduction of a spi/ subdirectory specific to SPI NANDs.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Change-Id: Ibb56f85620c4798fb579be3e4e30438963b7c48b
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit a430fa06a4ac50e785fdbfb7f43c3cb14b35619c)

show more ...


# d3992738 13-Jun-2019 Joseph Chen <chenjh@rock-chips.com>

Makefile: u-boot.itb: call "mkfitimage" when kernel dtb enabled

This was a careless mistake.

fixes: 510e4046a63fe6607bf328aeeb06ec2e36b56b0d
(Makefile: u-boot.itb: use dt-spl.dtb if using kernel dt

Makefile: u-boot.itb: call "mkfitimage" when kernel dtb enabled

This was a careless mistake.

fixes: 510e4046a63fe6607bf328aeeb06ec2e36b56b0d
(Makefile: u-boot.itb: use dt-spl.dtb if using kernel dtb)

Change-Id: Ifc8ad908356db55007ddd8e125543a6501cbe5da
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# d19b8cd2 16-May-2019 Shunqing Chen <csq@rock-chips.com>

power: charge: add bq25700 support

Change-Id: I49c2e60ac94cea35e6a1e9ca1f713551a75e6265
Signed-off-by: Shunqing Chen <csq@rock-chips.com>


# 510e4046 13-Apr-2019 Joseph Chen <chenjh@rock-chips.com>

Makefile: u-boot.itb: use dt-spl.dtb if using kernel dtb

Change-Id: Ia8244dfefbdddb638779f56207e400b44590bb35
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 5055cc91 09-Apr-2019 Joseph Chen <chenjh@rock-chips.com>

Makefile: generate u-boot.dtb from dt-spl.dtb when using kernel dtb

u-boot.bin doesn't affect u-boot.bin generation, but without this patch,
it provides a wrong dtb file for user to debug when using

Makefile: generate u-boot.dtb from dt-spl.dtb when using kernel dtb

u-boot.bin doesn't affect u-boot.bin generation, but without this patch,
it provides a wrong dtb file for user to debug when using kernel dtb.

'FORCE' is necessary to promise update u-boot.bin in every compilation.

Change-Id: I53e6b73cb2a457bde222f8b9c7844f3877d63cdc
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 4388deca 21-Mar-2019 Joseph Chen <chenjh@rock-chips.com>

dm: add amp uclass and rockchip amp driver support

- add amp uclass;
- add a simple rockchip amp driver.

An example for amps dts node configure:
amps {
compatible = "uboot,rockchip-amp";
status =

dm: add amp uclass and rockchip amp driver support

- add amp uclass;
- add a simple rockchip amp driver.

An example for amps dts node configure:
amps {
compatible = "uboot,rockchip-amp";
status = "okay";

amp@0 {
description = "mcu-os1";
partition = "mcu1";
cpu = <0x1>; // this is mpidr!
load = <0x800000>;
entry = <0x800000>;
memory = <0x800000 0x400000>;
};

amp@1 {
......
};

......
};

U-Boot loads "mcu-os1" firmware to "0x800000" address from partiton
"mcu1" for cpu[1], the cpu[1] entry address is 0x800000. And
U-Boot reserve memory from 0x800000 with 0x400000 size in order
to make it invisible for kernel.

Please use rockchip tool "mkkrnlimg" to pack firmware binary, example:
./scripts/mkkrnlimg mcu-os1.bin mcu-os1.img

Change-Id: I127d5d9f460ec0c1812a76fb4c3702e82f21c9a6
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 4f43646e 14-Dec-2018 Jianqun Xu <jay.xu@rock-chips.com>

power: rockchip: add io-domain driver

The io-domains on Rockchip SoCs will be supplied with 1.8V or 3.3V(3.0V)
depends on hardware design. The driver needs to config them through grf
register.

Chan

power: rockchip: add io-domain driver

The io-domains on Rockchip SoCs will be supplied with 1.8V or 3.3V(3.0V)
depends on hardware design. The driver needs to config them through grf
register.

Change-Id: Ic896b94bfadd0b808da54992e58e2cf4a8fee950
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>

show more ...


# 0eea0d25 19-Nov-2018 Joseph Chen <chenjh@rock-chips.com>

dm: add dvfs uclass and wide temperature dvfs support

- add dvfs uclass;
- add dvfs command;
- add a simple wide temperature dvfs driver.

About wide temperature dvfs driver policy, see description

dm: add dvfs uclass and wide temperature dvfs support

- add dvfs uclass;
- add dvfs command;
- add a simple wide temperature dvfs driver.

About wide temperature dvfs driver policy, see description in:
drivers/power/dvfs/rockchip_wtemp_dvfs.c

Change-Id: I36a8de6e47f8375bf1795b794c77d96b4571a361
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


12345678910>>...93