[U-Boot] [RFC] tools/env: add support for ubi volume chardev

2014-05-22 Thread Daniel Golle
tried to implement this in a way that makes it easy to verify that the existing codepaths are not hurt in case UBI support is disabled. Thank you for your advise! Daniel -- Signed-off-by: Daniel Golle dan...@makrotopia.org --- tools/env/Makefile | 5 tools/env/fw_env.c | 74

Re: [U-Boot] [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Daniel Golle
Hi, On Thu, Aug 11, 2016 at 05:18:08AM -0700, J Mo wrote: > > > On 08/11/2016 04:28 AM, J Mo wrote: > > > > Hm, I just found another example. I don't know why this didn't turn up > > in my searches yesterday since it's a perfect match with the EXACT > > error. This too was on a QSDK AP148: > >

Re: [U-Boot] [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Daniel Golle
On Thu, Aug 11, 2016 at 02:22:58PM +0200, Richard Weinberger wrote: > Did you intentional drop linux-mtd from the CC's after I offered you > to discuss your patches on linux-mtd? ;-) I replied twice, once including all the CC's with the intention to contribute to the general debate. And once to

Re: [U-Boot] [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Daniel Golle
Hi J, On Thu, Aug 11, 2016 at 06:15:32AM -0700, J Mo wrote: > > > On 08/11/2016 05:31 AM, Daniel Golle wrote: > > That's what I told you in the previous mail, removing the rootfs= > > parameter from the dts should do the trick, because you just cannot > >

Re: [U-Boot] [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Daniel Golle
Hi Richard, On Thu, Aug 11, 2016 at 11:51:10AM +0200, Richard Weinberger wrote: > Hi! > > On Thu, Aug 11, 2016 at 4:26 AM, J Mo wrote: > > I tried re-flashing my UBI and tftpbooting my kernel before u-boot could > > ever get a chance to mangle it, and now I get much further,

[PATCH resend] mmc: mtk-sd: don't ignore max-frequency from device tree

2021-03-15 Thread Daniel Golle
msdc_of_to_plat(). Only set plat->cfg.f_max to the default maximum value in case it is not already set to a sane value. Fixes: e58e68d93e ("mmc: mtk-sd: assign plat->cfg.f_max with a correct value") Cc: Stefan Roese Cc: Weijie Gao Signed-off-by: Daniel Golle --- drivers/mmc/mtk

Re: [PATCH v10 3/9] env: Allow U-Boot scripts to be placed in a .env file

2021-11-12 Thread Daniel Golle
On Thu, Oct 21, 2021 at 09:08:46PM -0600, Simon Glass wrote: > At present U-Boot environment variables, and thus scripts, are defined > by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text > to this file and dealing with quoting and newlines is harder than it > should be. It

U-Boot loaded RAMDisk crashes Linux on MT7623

2021-07-19 Thread Daniel Golle
Hi, I writing in the hope that someone has a good idea about why U-boot is handing over a broken memory address for a loaded ramdisk which results in Linux crashing very early on boot on MediaTek's MT7623N SoC (ARMv7). If anyone has a good idea why this is happening, I'd be very glad, as this

Re: U-Boot loaded RAMDisk crashes Linux on MT7623

2021-07-19 Thread Daniel Golle
Hi again, On Mon, Jul 19, 2021 at 06:34:38PM +0100, Daniel Golle wrote: > ... >Loading Ramdisk to ff4b9000, end ff9fab18 ... OK >^^ >Using Device Tree in place at 889f9288, end 88a04534 > > Starting kernel ... > ... > [

Re: [PATCH] image-fdt: save name of FIT configuration in '/chosen' node

2022-03-22 Thread Daniel Golle
On Tue, Mar 22, 2022 at 10:09:38PM +0100, Heinrich Schuchardt wrote: > On 3/22/22 14:18, Daniel Golle wrote: > > Hi Heinrich, > > > > On Tue, Mar 22, 2022 at 09:29:54AM +0100, Heinrich Schuchardt wrote: > > > On 3/22/22 00:22, Daniel Golle wrote: > > &g

[PATCH] image-fdt: save name of FIT configuration in '/chosen' node

2022-03-21 Thread Daniel Golle
It can be useful for the OS (Linux) to know which configuration has been chosen by U-Boot when launching a FIT image. Store the name of the FIT configuration node used in a new string attribute called 'bootconf' in the '/chosen' node in device tree. Signed-off-by: Daniel Golle --- boot/image

Re: [PATCH] image-fdt: save name of FIT configuration in '/chosen' node

2022-03-22 Thread Daniel Golle
Hi Heinrich, On Tue, Mar 22, 2022 at 09:29:54AM +0100, Heinrich Schuchardt wrote: > On 3/22/22 00:22, Daniel Golle wrote: > > It can be useful for the OS (Linux) to know which configuration has > > been chosen by U-Boot when launching a FIT image. > > Store the name of the F

[PATCH v2] image-fdt: save name of FIT configuration in '/chosen' node

2022-04-12 Thread Daniel Golle
It can be useful for the OS (Linux) to know which configuration has been chosen by U-Boot when launching a FIT image. Store the name of the FIT configuration node used in a new string property called 'u-boot,bootconf' in the '/chosen' node in device tree. Signed-off-by: Daniel Golle --- v2

Re: [PATCH v2] pstore: Support already existing reserved-memory node

2022-04-11 Thread Daniel Golle
Hi Detlev, I've recently tried to update U-Boot from 2022.01 to 2022.04 and noticed a regression introduced by the commit below. While the unwanted error message ("Add 'reserved-memory' node failed: FDT_ERR_EXISTS") no longer appears, I now see a lengthy kernel stack trace in Linux instead: ...

minor regression in U-Boot 2022.04

2022-04-11 Thread Daniel Golle
Hi! I'm about to bump the U-Boot build for MediaTek MT7622 boards in OpenWrt to U-Boot 2022.04. While practially everything seems to work fine, I've noticed an error message early in the serial output which was not present in U-Boot 2022.01. It is even followed by a bunch of random characters

[PATCH] configs: set CONFIG_LMB_MAX_REGIONS=64 for MT7988 boards

2023-08-21 Thread Daniel Golle
bytes below 0x8000. device tree - allocation error Fixes: bc4adc97cfb ("board: mediatek: add MT7988 reference boards") Reported-by: Lorenzo Bianconi Signed-off-by: Daniel Golle --- configs/mt7988_rfb_defconfig| 1 + configs/mt7988_sd_rfb_defconfig | 1 + 2 files changed, 2

Re: [PATCH v2] pstore: Support already existing reserved-memory node

2022-04-18 Thread Daniel Golle
;a=blob;f=package/boot/uboot-mediatek/patches/050-mt7622-enable-pstore.patch u-boot config: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/404-add-bananapi_bpi-r64_defconfigs.patch Cheers Daniel > > Detlev. > > On Monday, April 11

Re: [PATCH v2] pstore: Support already existing reserved-memory node

2022-04-19 Thread Daniel Golle
of exactly that 'ramoops' node already existing, which is fine. Thank you again for resolving this issue! Cheers Daniel > > Regards, > > Detlev. > > On Monday, April 18, 2022 7:50:36 P.M. EDT Daniel Golle wrote: > > Hi Detlev, > > > > On Mon, Apr 18

Regression? [PATCH 1/2] mtd: call of_platform_populate() for MTD partitions

2022-04-24 Thread Daniel Golle
Hi Rafal, Hi Miguel, On Mon, Apr 11, 2022 at 11:00:32AM +0200, Miquel Raynal wrote: > On Wed, 2022-04-06 at 14:32:24 UTC, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= wrote: > > From: Rafał Miłecki > > > > Until this change MTD subsystem supported handling partitions only with > > MTD partitions parsers.

Re: spi-nand: how to store environment with badblock handling in qspi nand

2022-06-25 Thread Daniel Golle
On Sat, Jun 25, 2022 at 10:10:08AM +0200, Kegl Rohit wrote: > Hello! > > Is it possible to store the environment inside a mtd partition when > using a single qspi nand chip as storage? > CONFIG_MTD_SPI_NAND=y > > The idea is to separate the NAND into two system A/B. > [...] > >

Re: 回复: minor regression in U-Boot 2022.04

2022-06-28 Thread Daniel Golle
s about the gobbled serial output issue? It would be nice to update uboot-mediatek in OpenWrt to v2022.04, so MT798x patches will easily apply on top. Cheers Daniel > > Best Regards > > Weijie > > -邮件原件- > 发件人: Daniel Golle > 发送时间: 2022年4月12日 6:44 > 收件人: u-

Re: [PATCH] dt-bindings: mtd: partitions: add UBI binding

2022-06-10 Thread Daniel Golle
> > Some examples: > 1. U-Boot environment variables > 2. Device calibration data > 3. Default setup (e.g. initial password) > > Signed-off-by: Rafał Miłecki This is very useful and can replace the downstream hacks we are currently using for this purpos

[PATCH v2] image-fit: don't set compression if it can't be read

2022-08-26 Thread Daniel Golle
: 'compression' nodes for ramdisks are deprecated, please fix your .its file! no longer shows if the compression node is actually absent. Signed-off-by: Daniel Golle --- v2: fix typo 'imape_comp' vs. 'image_comp' boot/bootm.c | 6 ++ boot/image-fit.c | 3 +-- cmd/ximg.c | 7 ++- 3

[PATCH v3 2/2] image-fit: don't set compression if it can't be read

2022-08-26 Thread Daniel Golle
: 'compression' nodes for ramdisks are deprecated, please fix your .its file! no longer shows if the compression node is actually absent. Signed-off-by: Daniel Golle --- boot/bootm.c | 6 ++ boot/image-fit.c | 3 +-- cmd/ximg.c | 7 ++- 3 files changed, 5 insertions(+), 11 deletions

[PATCH v3 1/2] bootm: fix typo imape_comp -> image_comp

2022-08-26 Thread Daniel Golle
Chage variable name 'imape_comp' to the supposedly intended name 'image_comp'. Signed-off-by: Daniel Golle --- boot/bootm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boot/bootm.c b/boot/bootm.c index 86dbfbcfed..4de573e24e 100644 --- a/boot/bootm.c +++ b/boot

[PATCH v4 1/2] bootm: fix typo imape_comp -> image_comp

2022-08-26 Thread Daniel Golle
Chage variable name 'imape_comp' to the supposedly intended name 'image_comp'. Signed-off-by: Daniel Golle --- v4: add missing name replacement boot/bootm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/bootm.c b/boot/bootm.c index 86dbfbcfed..63c79a9cfc

[PATCH v4 2/2] image-fit: don't set compression if it can't be read

2022-08-26 Thread Daniel Golle
: 'compression' nodes for ramdisks are deprecated, please fix your .its file! no longer shows if the compression node is actually absent. Signed-off-by: Daniel Golle --- v2: fix typo 'imape_comp' vs. 'image_comp' v3: rather fix the typo everywhere in an additional patch before v4: rebase on updated patch

Re: [PATCH v4 1/2] bootm: fix typo imape_comp -> image_comp

2022-08-29 Thread Daniel Golle
On Mon, Aug 29, 2022 at 08:30:14PM -0600, Simon Glass wrote: > On Fri, 26 Aug 2022 at 21:15, Daniel Golle wrote: > > > > Chage variable name 'imape_comp' to the supposedly intended name > > Change Can you fix that on-the-fly while comitting or should I repost with t

Re: [PATCH 0/9] Nokia RX-51: Small cleanups and UBI boot test case

2022-09-04 Thread Daniel Golle
On Sun, Sep 04, 2022 at 12:28:24PM -0700, Tony Dinh wrote: > Hi Pali, > > On Sun, Sep 4, 2022 at 2:37 AM Pali Rohár wrote: > > > > On Saturday 03 September 2022 20:01:45 Tony Dinh wrote: > > > Hi Pali, > > > > > > On Sat, Sep 3, 2022 at 6:29 PM Pali Rohár wrote: > > > > > > > > Do various small

Re: [PATCH v2 01/32] arm: mediatek: add support for MediaTek MT7986 SoC

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:00:17PM +0800, Weijie Gao wrote: > This patch adds basic support for MediaTek MT7986 SoC. > This include the file that will initialize the SoC after boot and its > device tree. > > Signed-off-by: Weijie Gao Tested on Bananapi BPi-R3 (MT7986A). Tested-b

Re: [PATCH v2 05/32] mmc: mediatek: add support for MediaTek MT7891/MT7986 SoCs

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:04:12PM +0800, Weijie Gao wrote: > Add eMMC and SDXC support for MediaTek MT7981/MT7986 SoCs > Both chips support SDXC and eMMC 4.5. MT7986A supports eMMC 5.1. > Tested on Bananapi BPi-R3 (MT7986A) with both eMMC and SDMMC. Tested-by: Daniel Golle &

Re: [PATCH v2 07/32] net: mediatek: stop using bitfileds for DMA descriptors

2022-08-31 Thread Daniel Golle
em easily. Tested on Bananapi BPi-R64 (MT7622) and BPi-R2 (MT7623). Tested-by: Daniel Golle > > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao > --- > v2 changes: > Fix typo in commit message > --- > drivers/net/mtk_eth.c | 144 ++--

Re: [PATCH v2 06/32] net: mediatek: use a struct to cover variations of all SoCs

2022-08-31 Thread Daniel Golle
riginal mtk_soc to allow > the driver be able handle newer hardwares. Tested on Bananapi BPi-R64 (MT7622) and Bananapi BPi-R2 (MT7623). Tested-by: Daniel Golle > > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao > --- > v2c changes: > Add description for new struct

Re: [PATCH v2 08/32] net: mediatek: add support for PDMA v2

2022-08-31 Thread Daniel Golle
4 (MT7623) and Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > > Reviewed-by: Ramon Fried > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao > --- > v2 changes: > Add description for new fields > --- > drivers/net/mtk_eth.c | 54 ++

Re: [PATCH v2 09/32] net: mediatek: add support for MediaTek MT7981/MT7986

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:04:29PM +0800, Weijie Gao wrote: > This patch adds support for MediaTek MT7981 and MT7986. Both chips uses > PDMA v2. > Tested on Bananapi BPi-R2 (MT7623), Bananapi BPi-R64 (MT7623) and Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > Reviewed-by:

Re: [PATCH v2 10/32] serial: mtk: add support for using dynamic baud clock souce

2022-08-31 Thread Daniel Golle
Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao > --- > v2 changes: > Add description for priv struct > Fix the type of clk_rate > --- > drivers/serial/serial_mtk.c | 80 ++

Re: [PATCH v2 14/32] timer: mtk: add support for MediaTek MT7981/MT7986 SoCs

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:04:40PM +0800, Weijie Gao wrote: > This patch add general-purpose timer support for MediaTek MT7981/MT7986. > These two SoCs uses a newer version of timer with its register definition > slightly changed. > Tested on Bananapi BPi-R3 (MT7986A). Tested-by:

Re: [PATCH v2 11/32] arm: dts: mt7622: force high-speed mode for uart

2022-08-31 Thread Daniel Golle
napi BPi-R64 (MT7622). Fixes unstable console issues previously observed on MT7622 systems. Tested-by: Daniel Golle > > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao > --- > v2 changes: none > --- > arch/arm/dts/mt7622.dtsi | 1 + > 1 file changed, 1 inserti

Re: [PATCH v2 16/32] spi: add support for MediaTek spi-mem controller

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:04:45PM +0800, Weijie Gao wrote: > This patch adds support for spi-mem controller found on newer MediaTek SoCs > This controller supports Single/Dual/Quad SPI mode. Tested on Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > > Reviewed-by: Simon Gla

Re: [PATCH v2 15/32] watchdog: mediatek: add support for MediaTek MT7986 SoC

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:04:42PM +0800, Weijie Gao wrote: > Add watchdog support for MediaTek MT7986 SoC Tested on Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao > --- > v2 changes: none > --- > driver

Re: [PATCH v2 21/32] pinctrl: mediatek: add pinctrl driver for MT7986 SoC

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:04:57PM +0800, Weijie Gao wrote: > This patch adds pinctrl and gpio support for MT7986 SoC > Tested on Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao > --- > v2 changes: none > -

Re: [PATCH v2 23/32] clk: mediatek: add support to configure clock driver parent

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:05:06PM +0800, Weijie Gao wrote: > This patch adds support for a clock node to configure its parent clock > where possible. Tested on Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao >

Re: [PATCH v2 22/32] clk: mediatek: add CLK_BYPASS_XTAL flag to allow bypassing searching clock parent of xtal clock

2022-08-31 Thread Daniel Golle
rent logic will make entire clock driver not working. > > This patch adds a flag to indicate that whether a clock driver needs clocks > with ID=0 to call mtk_topckgen_get_mux_rate. Tested on Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > > Reviewed-by: Simon Glass > Sig

Re: [PATCH v2 26/32] clk: mediatek: add clock driver support for MediaTek MT7986 SoC

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:05:13PM +0800, Weijie Gao wrote: > This patch adds clock driver support for MediaTek MT7986 SoC Tested on Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > > Reviewed-by: Sean Anderson > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao >

Re: [PATCH v2 24/32] clk: mediatek: add infrasys clock mux support

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:05:09PM +0800, Weijie Gao wrote: > This patch adds infrasys clock mux support for mediatek clock drivers. Tested on Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao > --- > v

Re: [PATCH v2 28/32] cpu: add basic cpu driver for MediaTek ARM chips

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:05:20PM +0800, Weijie Gao wrote: > Add basic CPU driver used to retrieve CPU model information. > Tested on Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > Signed-off-by: Weijie Gao > --- > v2 changes: new > --- > drivers/cpu/Makefil

Re: [PATCH v2 25/32] clk: mediatek: add CLK_XTAL support for clock driver

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:05:11PM +0800, Weijie Gao wrote: > This adds the CLK_XTAL macro/flag to allow modeling clocks which are > directly connected to the xtal clock. Tested on Bananapi BPi-R3 (MT7986A). Tested-by: Daniel Golle > > Signed-off-by: Weijie Gao > --- > v

Re: [PATCH v2 31/32] tools: mtk_image: add support for nand headers used by newer chips

2022-08-31 Thread Daniel Golle
er. Tested ARM Trusted Firmware-A bl2 images generated for Bananapi R64 (MT7622; eMMC, SDMMC, SPI-NAND), UniFi 6 LR (MT7622; SPI-NOR) and Bananapi BPi-R3 (MT7986A; eMMC, SDMMC, SPI-NAND, SPI-NOR). Also tested MT7621 images still work fine on ZBT-WG3526 (MT7621; SPI-NOR). Tested-by: Daniel Golle

Re: [PATCH v2 30/32] tools: mtk_image: split the code of generating NAND header into a new file

2022-08-31 Thread Daniel Golle
I-NOR). Tested-by: Daniel Golle > > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao > --- > v2 changes: > Add comments > Call mtk_nand_header_size only for NAND/SNAND to avoid NULL pointer access > --- > tools/Makefile

Re: [PATCH v2 29/32] tools: mtk_image: split gfh header verification into a new function

2022-08-31 Thread Daniel Golle
C, SPI-NAND), UniFi 6 LR (MT7622; SPI-NOR) and Bananapi BPi-R3 (MT7986A; eMMC, SDMMC, SPI-NAND, SPI-NOR). Also tested MT7621 images still work fine on ZBT-WG3526 (MT7621; SPI-NOR). Tested-by: Daniel Golle > > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao > --- > v2 changes

Re: [PATCH 29/31] tools: mtk_image: split the code of generating NAND header into a new file

2022-08-05 Thread Daniel Golle
Hi Weijie, please see one comment in-line below: On Thu, Aug 04, 2022 at 11:36:50AM +0800, Weijie Gao wrote: > The predefined NAND headers take too much spaces in the mtk_image.c. > Moving them into a new file can significantly improve the readability of > both mtk_image.c and the new

Re: [PATCH 01/31] arm: mediatek: add support for MediaTek MT7986 SoC

2022-08-06 Thread Daniel Golle
-08-04 at 16:50 +0800, Weijie Gao wrote: > > Hi Daniel, > > > > Thanks for the reminder. > > I found more errornous line-breaks in other patches... > > I'll find a way to fix that. > > > > Best Regards, > > Weijie > > > > On T

[PATCH] image-fit: don't set compression if it can't be read

2022-08-15 Thread Daniel Golle
: 'compression' nodes for ramdisks are deprecated, please fix your .its file! no longer shows if the compression node is actually absent. Signed-off-by: Daniel Golle --- boot/bootm.c | 6 ++ boot/image-fit.c | 3 +-- cmd/ximg.c | 7 ++- 3 files changed, 5 insertions(+), 11 deletions

Re: [PATCH 03/31] board: mediatek: add MT7986 reference boards

2022-08-12 Thread Daniel Golle
On Fri, Aug 12, 2022 at 07:02:17PM +0800, Weijie Gao wrote: > On Tue, 2022-08-09 at 11:10 +0200, Daniel Golle wrote: > > Hi Weijie, > > > > On Thu, Aug 04, 2022 at 11:35:03AM +0800, Weijie Gao wrote: > > > This patch adds general board files based on MT7986

Re: [PATCH 01/31] arm: mediatek: add support for MediaTek MT7986 SoC

2022-08-04 Thread Daniel Golle
Hi Weijie, happy to see this series posted! Trying to apply it unfortunately fails due to errornous line-breaks, supposedly inserted by your MUA, see below. I didn't go beyond the first patch and it'd be nice if you report the whole series without the wrong line-breaks. Cheers Daniel On

Re: [PATCH 03/31] board: mediatek: add MT7986 reference boards

2022-08-09 Thread Daniel Golle
Hi Weijie, On Thu, Aug 04, 2022 at 11:35:03AM +0800, Weijie Gao wrote: > This patch adds general board files based on MT7986 SoCs. > > The SD/eMMC controller on MT7986A and MT7986B have different pin > configurations so that four different reference board configs has to be > added. > >

[PATCH] configs: set CONFIG_LMB_MAX_REGIONS=64 for all mt798[16] boards

2022-11-29 Thread Daniel Golle
/e3489a697b404bd47447190cd2e5adf090ae61c2.1667687249.git.lore...@kernel.org/ https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=eed4f1ddad8c5ad7596b229caec8bd7b477b81ee Signed-off-by: Daniel Golle --- configs/mt7981_emmc_rfb_defconfig| 1 + configs

[PATCH] pinctrl: mediatek: set R1/R0 in case pullen/pullsel succeeded

2023-04-12 Thread Daniel Golle
he originally intended and correct behavior and also change the descriptive comment accordingly. Fixes: dafe0fbfb0f3 ("pinctrl: mediatek: rewrite mtk_pinconf_set and related functions") Signed-off-by: Daniel Golle --- drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 4 ++-- 1 file chan

Re: [PATCH v3 08/25] menu: Make use of CLI character processing

2023-04-11 Thread Daniel Golle
On Fri, Jan 06, 2023 at 08:52:26AM -0600, Simon Glass wrote: > Avoid duplicating some of the escape-sequence processing here and use the > CLI function instead. > > Signed-off-by: Simon Glass > --- > > [...] > diff --git a/common/menu.c b/common/menu.c > index 7db98942a61..45f36ae3ede 100644 >

[PATCH] ram: mediatek: mt7629: include

2023-07-31 Thread Daniel Golle
Signed-off-by: Daniel Golle --- drivers/ram/mediatek/ddr3-mt7629.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ram/mediatek/ddr3-mt7629.c b/drivers/ram/mediatek/ddr3-mt7629.c index 1737fdac970..f65fcf179cf 100644 --- a/drivers/ram/mediatek/ddr3-mt7629.c +++ b/drivers/ram/m

Re: [PATCH] arm: dts: medaitek: convert gmac link mode to 2500base-x for mt7986a-bpi-r3-sd

2023-08-04 Thread Daniel Golle
On Fri, Aug 04, 2023 at 09:01:55AM +0800, Weijie Gao wrote: > The mt7531 of bpi-r3 is connected to mt7986 with 2.5Gbps HSGMII, not the > regular 1Gbps SGMII. > > Signed-off-by: Weijie Gao Reviewed-by: Daniel Golle > --- > This is a supplement to commit: > aef54ea1 (arm: d

Re: Passing boot logs to Linux?

2023-12-19 Thread Daniel Golle
Hi Bence, On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: > Hi! > > Is passing the U-Boot boot log to Linux supported yet? We are working > with a third-party solution, which works, but is a bit hacky, so I was > wondering if an official solution has been merged yet. > > I saw

Re: Passing boot logs to Linux?

2023-12-20 Thread Daniel Golle
On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote: > On 2023-12-21 00:27, Csókás Bence wrote: > > Not every system has eMMC/uSD, and as you said, these arguments don't > > hold for a 4 MB SPI NAND, for example, one you might find in an OpenWrt > > router for example. Whereas RAM is