summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Lu [Mon, 20 May 2024 01:30:45 +0000 (09:30 +0800)]
xhci: allow trans data on 0x0
Lu [Mon, 20 May 2024 01:29:14 +0000 (09:29 +0800)]
th1520: enable usb host support
Haaland Chen [Sat, 22 Jun 2024 08:25:58 +0000 (16:25 +0800)]
ci: enable ci for DDR-16GB meles
Signed-off-by: Haaland Chen <haaland@milkv.io>
Haaland Chen [Sat, 22 Jun 2024 08:25:02 +0000 (16:25 +0800)]
configs: add DDR-16GB meles board
Signed-off-by: Haaland Chen <haaland@milkv.io>
Han Gao [Thu, 16 May 2024 08:30:10 +0000 (16:30 +0800)]
meles: add aon config
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Thu, 16 May 2024 05:28:15 +0000 (13:28 +0800)]
Revert "fastboot: clean hibernate image when update uboot/kernel/rootfs partition"
This reverts commit
3a7b5088eef6eed95537e5a5732f9c08095a559e.
Han Gao [Thu, 16 May 2024 05:19:10 +0000 (13:19 +0800)]
ci: update toolchains
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
xianbing Zhu [Thu, 28 Mar 2024 08:50:45 +0000 (16:50 +0800)]
fastboot: clean hibernate image when update uboot/kernel/rootfs partition
When update version,this commit erase normal hibernate image
and fastresume image.Before this,only fastresume image is erased.
This may caused issue when hibernate image saved before
update version.
Update one of uboot/kernel/rootfs will clean hibernate image.
Signed-off-by: xianbing Zhu <xianbing.zhu@linux.alibaba.com>
Change-Id: I92cd9ccda83f8d1e215e0f8d75e7cf34380a6201
钦峰 [Tue, 19 Mar 2024 06:39:48 +0000 (14:39 +0800)]
1:fix compile warning 2:add aon set magic
Change-Id: I511dc51ff71ae9567dcc0b6b91f6bcac1ae61f3b
Han Gao [Mon, 13 May 2024 06:43:43 +0000 (14:43 +0800)]
th1520: SPL_TEXT_BASE=0xffe0000000 for nosign spl
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Wed, 8 May 2024 06:32:49 +0000 (06:32 +0000)]
sync config
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
thead_admin [Fri, 26 Apr 2024 03:07:14 +0000 (03:07 +0000)]
Linux_SDK_V1.5.4
Signed-off-by: thead_admin <occ_thead@service.alibaba.com>
Han Gao [Thu, 28 Mar 2024 11:00:40 +0000 (11:00 +0000)]
fix: run gpt_partition failed
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Haaland Chen [Tue, 26 Mar 2024 13:36:39 +0000 (21:36 +0800)]
include: light-c910.h: add fdtoverlay_addr_r
Signed-off-by: Haaland Chen <haaland@milkv.io>
Han Gao [Fri, 22 Mar 2024 07:22:32 +0000 (07:22 +0000)]
fix: remove find partuuid
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Fri, 22 Mar 2024 07:22:00 +0000 (07:22 +0000)]
feat: add sdcard boot first
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Haaland Chen [Sat, 16 Mar 2024 12:49:57 +0000 (20:49 +0800)]
configs: meles: use new fdt default name
Since T-HEAD Linux SDK V1.4.2, modified the kernel device tree
naming rules, starting with th1520.
Signed-off-by: Haaland Chen <haaland@milkv.io>
Han Gao [Wed, 31 Jan 2024 08:39:02 +0000 (16:39 +0800)]
feat: add format swap partition for resume
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Wed, 31 Jan 2024 05:37:42 +0000 (13:37 +0800)]
Revert "fix(c9xx): don't flush dcache when invalidating"
This reverts commit
adec30ace4cebb0554bb246b52eebaf37c1545c4.
Han Gao [Sat, 27 Jan 2024 12:52:17 +0000 (20:52 +0800)]
feat: enable load str firmware
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Sat, 27 Jan 2024 11:11:02 +0000 (11:11 +0000)]
Add tag publish firmware
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Tue, 23 Jan 2024 16:15:25 +0000 (00:15 +0800)]
fix error to written eth1addr
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Mon, 22 Jan 2024 15:27:00 +0000 (23:27 +0800)]
ci: add lc4a mainline dt name support
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Fri, 12 Jan 2024 02:10:44 +0000 (10:10 +0800)]
ci: add mainline dt name support
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Tue, 16 Jan 2024 08:50:14 +0000 (16:50 +0800)]
workaround: add delay
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Thu, 28 Dec 2023 15:17:05 +0000 (23:17 +0800)]
config: enable BOARD_RNG_SEED
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Thu, 28 Dec 2023 15:08:17 +0000 (23:08 +0800)]
config: update ROW16 to DDP
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
thead_admin [Sun, 24 Dec 2023 02:32:03 +0000 (02:32 +0000)]
Linux_SDK_V1.4.2
Signed-off-by: thead_admin <occ_thead@service.alibaba.com>
thead_admin [Tue, 14 Nov 2023 01:41:56 +0000 (01:41 +0000)]
Linux_SDK_V1.3.3
Signed-off-by: thead_admin <occ_thead@service.alibaba.com>
Han Gao [Tue, 26 Dec 2023 08:42:47 +0000 (16:42 +0800)]
ci: add build for lcon4a & lc4a
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Lu Hui [Mon, 25 Dec 2023 08:54:20 +0000 (16:54 +0800)]
defconfig: add light_lpi4a_[cluster|console]_defconfig
Lu Hui [Mon, 25 Dec 2023 08:53:41 +0000 (16:53 +0800)]
drivers: video: ilitek-ili9881c.c: add long delay panel reset
Lu Hui [Mon, 25 Dec 2023 08:53:07 +0000 (16:53 +0800)]
arch: dts: light-lpi4a: allow pane0 ref by other dts
Lu Hui [Mon, 25 Dec 2023 08:34:20 +0000 (16:34 +0800)]
drivers: panel: add panel-mingjun-070bi30ia2
Han Gao [Wed, 13 Dec 2023 06:13:48 +0000 (14:13 +0800)]
ci: update toolchains
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Gilbert Gilb's [Mon, 13 Nov 2023 11:36:24 +0000 (12:36 +0100)]
fix(c9xx): don't flush dcache when invalidating
The data cache invalidation function for c9xx CPUs uses `dcache.cipa`
instruction. According to T-Head extension specification[1] section
3.1.5, this instruction also performs a cache clean along with the
invalidation.
On top of being incorrect, this leads to a serious issue on the
designware ethernet driver, where stalled cache may get flushed each
time we handle a new received packet[2]. As a result, received packet
are randomly corrupted with old cached data. This can easily be
reproduced by sending an ARP request to the device during a TFTP
transfer. The last TFTP block is treated as the ARP reply we just sent,
which makes U-Boot hang on the block.
Always use `dcache.ipa` instruction to invalidate dcache. Replace
existing usages of `dcache.ipa` with our implementation.
Note that this fix is slightly intrusive as it changes the cache
invalidation behavior in all drivers. However, I have not noticed any
side-effect during my tests.
[1] https://github.com/T-head-Semi/thead-extension-spec/releases/download/2.3.0/xthead-2023-11-10-2.3.0.pdf
[2] https://github.com/revyos/thead-u-boot/blob/
918a8c89e056e3462031d6a498bb4fcc0c3526ce/drivers/net/designware.c#L475
Haaland Chen [Mon, 11 Dec 2023 12:19:30 +0000 (20:19 +0800)]
board: light-c910: update milkv meles iopin initialization status
Signed-off-by: Haaland Chen <haaland@milkv.io>
Han Gao [Sun, 3 Dec 2023 02:38:24 +0000 (10:38 +0800)]
ci: enable ci for meles 4g/8g
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Sun, 3 Dec 2023 02:37:26 +0000 (10:37 +0800)]
fix: set fdt_default_name for meles 4g/8g
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Haaland Chen [Thu, 30 Nov 2023 09:00:12 +0000 (17:00 +0800)]
configs: add milkv-meles singlerank ddr and dualrank ddr defconfig
Signed-off-by: Haaland Chen <haaland@milkv.io>
Haaland Chen [Wed, 29 Nov 2023 09:19:18 +0000 (17:19 +0800)]
riscv: dts: milkv-meles: turn on blue user led
Signed-off-by: Haaland Chen <haaland@milkv.io>
Haaland Chen [Wed, 29 Nov 2023 09:18:53 +0000 (17:18 +0800)]
light-c910: set CONFIG_MISC_INIT_R
Signed-off-by: Haaland Chen <haaland@milkv.io>
Haaland Chen [Wed, 29 Nov 2023 09:18:19 +0000 (17:18 +0800)]
board: light-c910: add function light_c910_set_gpio_output_high
Signed-off-by: Haaland Chen <haaland@milkv.io>
Haaland Chen [Wed, 29 Nov 2023 07:37:33 +0000 (15:37 +0800)]
add Milk-V Meles board
Signed-off-by: Haaland Chen <haaland@milkv.io>
Han Gao [Wed, 25 Oct 2023 18:52:22 +0000 (02:52 +0800)]
configs: fix default dtb file name
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Wed, 2 Aug 2023 02:30:16 +0000 (10:30 +0800)]
chore: enable ci for beagle-ahead
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Wed, 2 Aug 2023 02:28:05 +0000 (10:28 +0800)]
chore: sync lpi4a config
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Deepak Khatri [Sat, 10 Jun 2023 20:19:32 +0000 (01:49 +0530)]
Update cape header GPIO pinmuxing
Baozhu Zuo [Fri, 9 Jun 2023 10:30:41 +0000 (06:30 -0400)]
Modify GPIO default status for Beagle Bluetooth uart4 module
Deepak Khatri [Wed, 31 May 2023 21:44:33 +0000 (03:14 +0530)]
Fix SD boot button issue
Deepak Khatri [Sun, 7 May 2023 18:49:35 +0000 (00:19 +0530)]
Update default mikroBus pinmuxing
Deepak Khatri [Thu, 13 Apr 2023 12:11:43 +0000 (17:41 +0530)]
Update debug port pinmux
To check if low drive strength is causing problem.
Deepak Khatri [Mon, 10 Apr 2023 17:44:58 +0000 (23:14 +0530)]
Pinmux update: PullDown pins
Deepak Khatri [Sun, 9 Apr 2023 17:47:10 +0000 (23:17 +0530)]
Update BeagleV Ahead pinmuxing
Robert Nelson [Tue, 14 Feb 2023 22:35:27 +0000 (16:35 -0600)]
backport of: [PATCH] cmd: pxe: add support for FDT overlays
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Kory Maincent [Tue, 4 May 2021 17:31:23 +0000 (19:31 +0200)]
pytest: add sandbox test for "extension" command
This commit extends the sandbox to implement a dummy
extension_board_scan() function and enables the extension command in
the sandbox configuration. It then adds a test that checks the proper
functionality of the extension command by applying two Device Tree
overlays to the sandbox Device Tree.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
[trini: Limit to running on sandbox]
Signed-off-by: Tom Rini <trini@konsulko.com>
Kory Maincent [Tue, 4 May 2021 17:31:22 +0000 (19:31 +0200)]
cmd: add support for a new "extension" command
This patch adds a new "extension" command, which aims at detecting
extension boards connected to the hardware platform, and apply the
Device Tree overlays that describe the hardware present on those
extension boards.
In order to enable this mechanism, board-specific code must implement
the extension_board_scan() function that fills in a linked list of
"struct extension", each describing one extension board. In addition,
the board-specific code must select the SUPPORT_EXTENSION_SCAN Kconfig
boolean.
Based on this:
- "extension scan" makes the generic code call the board-specific
extension_board_scan() function to retrieve the list of detected
extension boards.
- "extension list" allows to list the detected extension boards.
- "extension apply <number>|all" allows to apply the Device Tree
overlay(s) corresponding to one, or all, extension boards
The latter requires two environment variables to exist and set one variable
to run:
- extension_overlay_addr: the RAM address where to load the Device
Tree overlays
- extension_overlay_cmd: the U-Boot command to load one overlay.
Indeed, the location and mechanism to load DT overlays is very setup
specific.
- extension_overlay_name: set by the command: the name of the DT which
will be load during the execution.
When calling the command described in the extension_overlay_cmd
variable, the variable extension_overlay_name will be defined. So a
typical extension_overlay_cmd will look like this:
extension_overlay_cmd=load mmc 0:1 $extension_overlay_addr /boot/$extension_overlay_name
Here is an example on how to use it:
=> run loadfdt
=> fdt addr $fdtaddr
=> setenv extension_overlay_addr 0x1000
=> setenv extension_overlay_cmd 'load mmc 0:1 ${extension_overlay_addr} /boot/${extension_overlay_name}'
=> extension scan
Found 1 extension board(s).
=> extension apply 0
519 bytes read in 3 ms (168.9 KiB/s)
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Kory Maincent [Tue, 4 May 2021 17:31:21 +0000 (19:31 +0200)]
fdt_support: move fdt_valid from cmd_fdt.c to fdt_support.c
Move the fdt_valid function to fdt_support.
This changes allow to be able to test the validity of a devicetree in
other c files.
Update code syntax.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Robert Nelson [Tue, 14 Feb 2023 17:22:11 +0000 (11:22 -0600)]
light_beagle_defconfig: enable CONFIG_OF_LIBFDT_OVERLAY=y
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Robert Nelson [Thu, 5 Jan 2023 01:13:34 +0000 (19:13 -0600)]
Modify_GPIO_default_status_for_Beagle_WIFI_BLE_module
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Robert Nelson [Thu, 27 Apr 2023 19:12:29 +0000 (14:12 -0500)]
light_beagle_defconfig: run savedefconfig
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Han Gao [Wed, 18 Oct 2023 17:35:17 +0000 (01:35 +0800)]
fix: ensure flashing img not to lose mac address
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Sean Anderson [Thu, 27 May 2021 16:02:34 +0000 (12:02 -0400)]
fastboot: Fix overflow when calculating chunk size
If a chunk was larger than 4GiB, then chunk_data_sz would overflow and
blkcnt would not be calculated correctly. Upgrade it to a u64 and cast
its multiplicands as well. Also fix bytes_written while we're at it.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Lu Hui [Wed, 23 Aug 2023 09:53:55 +0000 (17:53 +0800)]
include: configs: light-c910.h: allow boot partition use other filesystem type
thead_admin [Mon, 7 Aug 2023 03:22:40 +0000 (11:22 +0800)]
Linux_SDK_V1.2.1
Signed-off-by: thead_admin <occ_thead@service.alibaba.com>
Nekorouter [Tue, 8 Aug 2023 05:32:42 +0000 (13:32 +0800)]
Update dtb name: add vendor name path to CONFIG_DEFAULT_FDT_FILE
Han Gao [Tue, 1 Aug 2023 16:50:40 +0000 (00:50 +0800)]
chore: add ums gadget for light-val-a
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Tue, 1 Aug 2023 16:24:16 +0000 (00:24 +0800)]
chore: add 16g ci & modify SYS_PROMPT
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Icenowy Zheng [Tue, 1 Aug 2023 16:46:29 +0000 (00:46 +0800)]
add default fdt filenames
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Co-Authored-By: Han Gao <gaohan@iscas.ac.cn>
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Icenowy Zheng [Wed, 26 Jul 2023 08:41:24 +0000 (16:41 +0800)]
fix 16g dram print
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Icenowy Zheng [Fri, 21 Jul 2023 06:19:49 +0000 (14:19 +0800)]
add config for 16G board
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Icenowy Zheng [Fri, 21 Jul 2023 06:19:34 +0000 (14:19 +0800)]
add row16 option
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Han Gao [Sat, 29 Jul 2023 20:05:47 +0000 (04:05 +0800)]
fix: disable custom logo
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Sat, 29 Jul 2023 19:57:28 +0000 (03:57 +0800)]
feat: update SDK1.2.0
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Spacefish [Mon, 24 Jul 2023 15:44:44 +0000 (17:44 +0200)]
Typo in spl.c
Small typo in comment
Alexandre Ghiti [Mon, 3 Oct 2022 16:07:54 +0000 (18:07 +0200)]
riscv: Fix build against binutils 2.38
The following description is copied from the equivalent patch for the
Linux Kernel proposed by Aurelien Jarno:
>From version 2.38, binutils default to ISA spec version
20191213. This
means that the csr read/write (csrr*/csrw*) instructions and fence.i
instruction has separated from the `I` extension, become two standalone
extensions: Zicsr and Zifencei. As the kernel uses those instruction,
this causes the following build failure:
arch/riscv/cpu/mtrap.S: Assembler messages:
arch/riscv/cpu/mtrap.S:65: Error: unrecognized opcode `csrr a0,scause'
arch/riscv/cpu/mtrap.S:66: Error: unrecognized opcode `csrr a1,sepc'
arch/riscv/cpu/mtrap.S:67: Error: unrecognized opcode `csrr a2,stval'
arch/riscv/cpu/mtrap.S:70: Error: unrecognized opcode `csrw sepc,a0'
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Christian Stewart <christian@paral.in>
Reviewed-by: Rick Chen <rick@andestech.com>
Han Gao [Sun, 23 Jul 2023 08:28:03 +0000 (16:28 +0800)]
fix: unknown CSR 'mhcr' (arch/riscv/cpu/c9xx/cpu.c)
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Sun, 23 Jul 2023 08:24:32 +0000 (16:24 +0800)]
feat: add gcc-12 build
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Thu, 13 Jul 2023 23:02:31 +0000 (07:02 +0800)]
fix: save mac address
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Wed, 12 Jul 2023 14:13:38 +0000 (22:13 +0800)]
feat: update slogan
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Wed, 12 Jul 2023 09:27:12 +0000 (17:27 +0800)]
feat: add extlinux boot
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Tue, 11 Jul 2023 19:36:50 +0000 (03:36 +0800)]
feat: add ruyisdk logo
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Tue, 11 Jul 2023 18:38:27 +0000 (02:38 +0800)]
fix: repair check mac vaild timing
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
chainsx [Mon, 3 Jul 2023 17:31:28 +0000 (01:31 +0800)]
fix: fix and add ums gadget(usb mass storage gadget)
wu-yue-yu [Tue, 27 Jun 2023 03:24:48 +0000 (05:24 +0200)]
fix: fix the problem of wrong overwritten mac address
ztd [Mon, 15 May 2023 11:19:21 +0000 (13:19 +0200)]
fix: set fixed mac addrs (#1)
* fix: set fixed mac addr
Han Gao [Tue, 9 May 2023 18:36:47 +0000 (02:36 +0800)]
feat: add ci build
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Tue, 9 May 2023 18:25:53 +0000 (02:25 +0800)]
fix: ftbfs
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Han Gao [Tue, 9 May 2023 18:23:55 +0000 (02:23 +0800)]
fix: fix bootargs
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
t61230 [Thu, 6 Apr 2023 01:47:05 +0000 (01:47 +0000)]
ENV_SETTINGS
thead_admin [Sun, 5 Mar 2023 14:36:05 +0000 (22:36 +0800)]
Linux_SDK_V1.1.2
thead_admin [Wed, 4 Jan 2023 05:12:02 +0000 (13:12 +0800)]
Linux_SDK_V1.0.3
thead_admin [Tue, 22 Nov 2022 07:50:04 +0000 (15:50 +0800)]
Linux_SDK_V1.0.2
thead_admin [Tue, 13 Sep 2022 03:04:33 +0000 (11:04 +0800)]
Linux_SDK_V0.9.5