136 Commits

Author SHA1 Message Date
Aabandon
0547d940aa uboot: add support for fmsh gsto dosilicon spi-nand 2024-09-03 20:57:26 +08:00
Patrice Chotard
7243b4de0f mtd: spinand: Fix display of unknown raw ID
In case ID is not found in manufacturer table, the raw ID is
printed using %*phN format which is not supported by lib/vsprintf.c.
The information displayed doesn't reflect the raw ID return by the
unknown spi-nand.

Use %02x format instead, as done in spi-nor-core.c.

For example, before this patch:
  ERROR: spi-nand: spi_nand flash@0: unknown raw ID f74ec040
after
  ERROR: spi-nand: spi_nand flash@0: unknown raw ID 00 c2 26 03

Fixes: 0a6d6bae0386 ("mtd: nand: Add core infrastructure to support SPI NANDs")

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Acked-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
2024-09-03 20:57:26 +08:00
Tianling Shen
2c152574c1 uboot-mtk-20220606: mt7981: disable MTK_UPGRADE_IMAGE_VERIFY (#74)
Otherwise upgrading firmware using tftp will fail.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-08-22 00:30:33 +08:00
thggdx
6993b31fb0 fix: Fixed an issue with undeclared function calls (#73) 2024-08-22 00:30:17 +08:00
Tianling Shen
e02fbd3d77 mt7986: add TP-Link TL-XTR8488 support (#71)
Based on An Yun's work.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-06-17 19:10:54 +08:00
Ashley Lee
cc14c072c6 mt7981: add support for Ruijie RG-X30E and Ruijie RG-X30E Pro (#67)
Signed-off-by: Ashley Lee <code@emtips.net>
2024-06-17 19:09:59 +08:00
Tianling Shen
262015e450 mt7981: add nokia ea0326gmp support (#64)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-06-17 19:08:58 +08:00
Shuanglei Tao
d74880eccc add support for failsafe boot via env (#62)
To use it in openwrt, run: fw_setenv failsafe 1
2024-06-17 19:08:39 +08:00
lgs2007m
6f1582df4d uboot-202206: mt7986/bootmenu_emmc: sync write firmware logic from 7981 (#60) 2024-06-17 19:08:19 +08:00
hanwckf
1869c74691 uboot: add support for foresee spi-nand 2024-01-31 10:14:25 +08:00
lgs2007m
d5d43529b6 uboot-202206: do not erase env after write FIP for emmc 2024-01-28 15:48:51 +08:00
Tianling Shen
f5cefa306e mt7986: add TP-Link TL-XDR4288/608x support (#44)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-10 01:06:25 +08:00
Tianling Shen
a2fa9d37f4 mt7986: add glinet gl-mt6000 support (#43)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-05 20:03:19 +08:00
Ashley Lee
bcb1b03e2e mt7986: add support for Ruijie RG-X60 Pro (#42)
Signed-off-by: Ashley Lee <code@emtips.net>
2024-01-05 20:03:10 +08:00
Tianling Shen
610fcad0e2 uboot-mtk-20220606: arm: Only support ARM64_CRC32 when using GCC (#36)
Today, only gcc has __builtin_aarch64_crc32b (clang-16 does not, for
example). Make this option depend on CC_IS_GCC.


Reviewed-by: Simon Glass <sjg@chromium.org>

Signed-off-by: Tom Rini <trini@konsulko.com>
Co-authored-by: Tom Rini <trini@konsulko.com>
2023-12-15 01:22:26 +08:00
lgs2007m
34446a95ff fix JDCloud RE-CP-03 and cmcc rax3000m emmc ENV OFFSET 2023-12-15 01:22:01 +08:00
Tianling Shen
fb79548e3e mt7986: add JDCloud RE-CP-03 support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-10 17:12:10 +08:00
Tianling Shen
c7d9aa4f5d uboot-mtk-20220606: fix update mt7986 emmc image (#33)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-11-30 01:22:34 +08:00
Tianling Shen
3eee20818e mt7981: add h3c magic nx30 pro support (#30)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-11-20 17:39:27 +08:00
Shuanglei Tao
af13dbd3cc mt7981: add xiaomi ax3000t support (#26) 2023-11-02 14:49:03 +08:00
Tianling Shen
cbed847af3 mt7981: initial cmcc rax3000m emmc support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-24 09:53:44 +08:00
lgs2007m
61c245c088 uboot-mtk-20220606: mt7981/bootmenu_emmc: sync upgrade logic from mt7986 2023-10-24 09:53:44 +08:00
Tianling Shen
921b9ed693 mt7981: add cmcc a10 support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-22 01:23:47 +08:00
Tianling Shen
fd3308870e mt7981: add abt asr3000 support (#22)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-19 17:44:34 +08:00
hanwckf
5869b56601 uboot: fix bl2 and fip mtd part name 2023-09-02 16:34:22 +08:00
hanwckf
ac6343d8ed uboot: fix cmcc_rax3000m blink led 2023-09-01 23:46:56 +08:00
hanwckf
62f26ff5de uboot: redirect "/cgi-bin/luci" to index.html 2023-08-31 01:58:58 +08:00
hanwckf
99b43b4947 uboot: update gigadevice spi-nand support 2023-08-27 02:16:22 +08:00
hanwckf
650bc8fb25 uboot: update esmt spi-nand support 2023-08-27 02:16:22 +08:00
hanwckf
4dde86f5ac uboot: add etron spi-nand support 2023-08-27 02:16:22 +08:00
benboguan
a1448e2542 mt7981: add CLT-R30B1 support (#15)
参考原厂固件,修改支持原始分区和多分区uboot
2023-08-26 09:39:35 +08:00
hanwckf
7df1ca999b uboot: remove unused w25n01kv kconfig 2023-08-17 13:46:03 +00:00
hanwckf
8ff6bf1aad mtd: fix winbond W25NXXKV spi nand 2023-08-17 12:52:56 +00:00
hanwckf
567c8151fc imou_lc-hx3001: enable NET_FORCE_IPADDR
Note: ipaddr is 192.168.1.1
2023-08-10 16:25:17 +08:00
Tianling Shen
8088824e31 mt7981: add Imou LC-HX3001 support (#10)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-10 16:23:10 +08:00
hanwckf
a11a5381d1 ct3003, jcg_q30, zr-3020: rename wps key to mesh key 2023-08-06 20:58:53 +08:00
abandon-xyz
f2f5913179 mt7981: add support for KONKA KOMI A31 (#8)
Note: default ipaddr is 192.168.2.1
2023-08-06 20:45:06 +08:00
hanwckf
a0fcde36c3 uboot/net: add CONFIG_NET_FORCE_IPADDR to set fixed ipaddr
Note: default ipaddr=192.168.1.1, netmask=255.255.255.0
2023-08-02 23:04:58 +08:00
hanwckf
d688b85a00 mt7981: add support for cmcc_rax3000m 2023-07-26 09:13:18 +08:00
hanwckf
e54881eb85 360t7: update mtdparts name 2023-07-26 01:02:19 +08:00
hanwckf
1d3aaad2e0 redmi-ax6000: update bootargs for stock firmware 2023-07-24 22:26:52 +08:00
hanwckf
268e321d55 wr30u: add qwrt mtd layout 2023-07-24 00:54:12 +08:00
hanwckf
fb272c5137 Update mtd_layout.c 2023-07-23 10:44:13 +08:00
lgs2007m
4996118f09 Update gpt.html (#6) 2023-07-23 10:41:14 +08:00
hanwckf
17a7e77ae8 ubi_helper: re-init ubi before erase mtd 2023-07-21 23:06:57 +08:00
hanwckf
1a8aa750bb failsafe-webui: fix flash uboot error 2023-07-21 23:05:42 +08:00
hanwckf
e3b4daff21 failsafe: only save env when mtd_layout_label changed 2023-07-21 22:13:30 +08:00
hanwckf
8530d1bc77 failsafe-webui: add support for multi mtd layout 2023-07-21 22:03:07 +08:00
hanwckf
de57e174e7 mtd_layout.c: export get_mtd_layout_label() 2023-07-21 21:41:06 +08:00
hanwckf
eed65b39dc httpd: set http cache-control to no-store 2023-07-20 18:14:40 +08:00