configs: add PineTab defconfig
PATCH 1/1 configs: add PineTab defconfig
From: Arnaud Ferraris <[email protected]>
The PineTab device-tree is already in u-boot, this commit adds the corresponding defconfig, based on pinephone_defconfig.
board/sunxi/MAINTAINERS +5 -0
@@ -471,6 +471,11 @@ M: Samuel Holland <[email protected]> S: Maintained F: configs/pinephone_defconfig +PINETAB BOARD +M: Arnaud Ferraris <[email protected]> +S: Maintained +F: configs/pinetab_defconfig + R16 EVB PARROT BOARD M: Quentin Schulz <[email protected]> S: Maintained
configs/pinetab_defconfig new file +21 -0
@@ -0,0 +1,21 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_IDENT_STRING="" +CONFIG_MACH_SUN50I=y +CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y +CONFIG_DRAM_CLK=552 +CONFIG_DRAM_ZQ=3881949 +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +# CONFIG_VIDEO_DE2 is not set +CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinetab" +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_BOOTDELAY=0 +CONFIG_SYS_CONSOLE_INFO_QUIET=y +# CONFIG_DISPLAY_CPUINFO is not set +# CONFIG_DISPLAY_BOARDINFO is not set +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set +# CONFIG_SPL_BANNER_PRINT is not set +# CONFIG_SPL_POWER_SUPPORT is not set +# CONFIG_NET is not set +# CONFIG_EFI_LOADER is not set
PATCH 1/1 configs: add PineTab defconfig
Quoted 5 lines · Nicolas Boulenguez
From: Arnaud Ferraris <[email protected]>
The PineTab device-tree is already in u-boot, this commit adds the corresponding defconfig, based on
pinephone_defconfig.
Should it have support to deal with the two variants where they have differing screens?
Quoted 40 lines
Signed-off-by Arnaud Ferraris <[email protected]>board/sunxi/MAINTAINERS +5
-0@@ -471,6 +471,11 @@ M: Samuel Holland <[email protected]> S: Maintained F: configs/pinephone_defconfig +PINETAB BOARD +M: Arnaud Ferraris <[email protected]> +S: Maintained +F: configs/pinetab_defconfig + R16 EVB PARROT BOARD M: Quentin Schulz <[email protected]> S: Maintainedconfigs/pinetab_defconfig new file +21
-0@@ -0,0 +1,21 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_IDENT_STRING="" +CONFIG_MACH_SUN50I=y +CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y +CONFIG_DRAM_CLK=552 +CONFIG_DRAM_ZQ=3881949 +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +# CONFIG_VIDEO_DE2 is not set +CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinetab" +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_BOOTDELAY=0 +CONFIG_SYS_CONSOLE_INFO_QUIET=y +# CONFIG_DISPLAY_CPUINFO is not set +# CONFIG_DISPLAY_BOARDINFO is not set +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set +# CONFIG_SPL_BANNER_PRINT is not set +# CONFIG_SPL_POWER_SUPPORT is not set +# CONFIG_NET is not set +# CONFIG_EFI_LOADER is not set
PATCH 1/1 configs: add PineTab defconfig
In reply to Nicolas BoulenguezQuoted 6 lines · Nicolas Boulenguez
From: Arnaud Ferraris <[email protected]>
The PineTab device-tree is already in u-boot, this commit adds the corresponding defconfig, based on
pinephone_defconfig.Signed-off-by Arnaud Ferraris <[email protected]>
...
Quoted 2 lines
configs/pinetab_defconfig new file +0
-0
...
Quoted 1 line
+CONFIG_BOOTDELAY=0
Setting bootdelay to 0 it almost impossible to debug issues in a running u-boot.
The default of 2 seconds that distro_bootcmd uses tries to strike a balance between not slowing the boot down too much while still being reasonably able to get into a u-boot shell when something goes wrong.
Individual users or vendors can set this value as they see fit, but this doesn't seem like a good default for mainline u-boot, at least to me.
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210307/db8a451a/attachment.sig>
PATCH 1/1 configs: add PineTab defconfig
Quoted 16 lines · On Sun, 07 Mar 2021 12:34:14 -0800 Vagrant Cascadian <[email protected]> wrote:
Quoted 6 lines · Nicolas Boulenguez
From: Arnaud Ferraris <[email protected]>
The PineTab device-tree is already in u-boot, this commit adds the corresponding defconfig, based on
pinephone_defconfig.Signed-off-by Arnaud Ferraris <[email protected]>...
Quoted 2 lines
configs/pinetab_defconfig new file +0
-0...
Quoted 1 line
+CONFIG_BOOTDELAY=0
Setting bootdelay to 0 it almost impossible to debug issues in a running u-boot.
Quoted 6 lines
The default of 2 seconds that
distro_bootcmduses tries to strike a balance between not slowing the boot down too much while still being reasonably able to get into a u-boot shell when something goes wrong.Individual users or vendors can set this value as they see fit, but this doesn't seem like a good default for mainline u-boot, at least to me.
Yeah, we just had a similar discussion recently about the Pinephone. I think we keep the default of 2 seconds for the mainline defconfig, by not having any explicit entry in that file, so it reverts to the platform default.
People can always change this in their .config, even with automated build systems, by using a simple sed command.
Cheers,
Andre
PATCH 1/1 configs: add PineTab defconfig
In reply to Nicolas BoulenguezOn Sun, 7 Mar 2021 13:53:56 +0100
Nicolas Boulenguez <[email protected]> wrote:
Hi,
Quoted 10 lines
From: Arnaud Ferraris <[email protected]>
The PineTab device-tree is already in u-boot, this commit adds the corresponding defconfig, based on
pinephone_defconfig.Signed-off-by Arnaud Ferraris <[email protected]>
board/sunxi/MAINTAINERS M: Samuel Holland <[email protected]> · line 477
Quoted 7 lines
board/sunxi/MAINTAINERS +4
-0@@ -471,6 +471,11 @@ M: Samuel Holland <[email protected]> S: Maintained F: configs/pinephone_defconfig +PINETAB BOARD +M: Arnaud Ferraris <[email protected]> +S: Maintained +F: configs/pinetab_defconfig
Arnaud, do you agree with this?
Happy to take your patch via Nicolas, but for the maintainer entry I would like to have some confirmation.
configs/pinetab_defconfig line 4
Quoted 11 lines
board/sunxi/MAINTAINERS +1
-0+ R16 EVB PARROT BOARD M: Quentin Schulz <[email protected]> S: Maintainedconfigs/pinetab_defconfig new file +4
-0@@ -0,0 +1,21 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_IDENT_STRING=""
Having "Allwinner Technology" here is indeed weird and probably not really justified anymore, given the "support" we see from Allwinner. I wonder if we should scrap this for all boards. Also it makes the line longer than 80 characters.
configs/pinetab_defconfig line 13
Quoted 9 lines
configs/pinetab_defconfig new file +9
-0+CONFIG_MACH_SUN50I=y +CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y +CONFIG_DRAM_CLK=552 +CONFIG_DRAM_ZQ=3881949 +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +# CONFIG_VIDEO_DE2 is not set +CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinetab" +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_BOOTDELAY=0
I answered in the other email about the boot delay already.
So what is the reason for all those other options below?
Is there any particular reason they were all disabled?
I can buy CONFIG_NET, but the rest seems unnecessary. There doesn't seem to be a driver for the PineTab panel in U-Boot, so this is solely suppressing a few lines on the serial? Since this would be surely for debug only, I think it's useful to have them, normal users wouldn't see them anyway.
configs/pinetab_defconfig line 21
Quoted 8 lines
configs/pinetab_defconfig new file +8
-0+CONFIG_SYS_CONSOLE_INFO_QUIET=y +# CONFIG_DISPLAY_CPUINFO is not set +# CONFIG_DISPLAY_BOARDINFO is not set +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set +# CONFIG_SPL_BANNER_PRINT is not set +# CONFIG_SPL_POWER_SUPPORT is not set +# CONFIG_NET is not set +# CONFIG_EFI_LOADER is not set
We should definitely keep EFI_LOADER.
Cheers,
Andre
PATCH 1/1 configs: add PineTab defconfig
? 2021?3?8? GMT+08:00 ??8:12:24, Andre Przywara <[email protected]> ??:
Quoted 28 lines
On Sun, 7 Mar 2021 13:53:56 +0100
Nicolas Boulenguez <[email protected]> wrote:Hi,
Quoted 3 lines
From: Arnaud Ferraris <[email protected]>
The PineTab device-tree is already in u-boot, this commit adds the
corresponding
Quoted 7 lines
defconfig, based on
pinephone_defconfig.Signed-off-by Arnaud Ferraris <[email protected]>board/sunxi/MAINTAINERS M: Samuel Holland <[email protected]> · line 477
Quoted 7 lines
board/sunxi/MAINTAINERS +4
-0@@ -471,6 +471,11 @@ M: Samuel Holland <[email protected]> S: Maintained F: configs/pinephone_defconfig +PINETAB BOARD +M: Arnaud Ferraris <[email protected]> +S: Maintained +F: configs/pinetab_defconfigArnaud, do you agree with this?
Happy to take your patch via Nicolas, but for the maintainer entry I would like to have some confirmation.
Quoted 16 lines
configs/pinetab_defconfig line 4
Quoted 11 lines
board/sunxi/MAINTAINERS +1
-0+ R16 EVB PARROT BOARD M: Quentin Schulz <[email protected]> S: Maintainedconfigs/pinetab_defconfig new file +4
-0@@ -0,0 +1,21 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_IDENT_STRING=""Having "Allwinner Technology" here is indeed weird and probably not really justified anymore, given the "support" we see from Allwinner. I wonder if we should scrap this for all boards. Also it makes the line longer than 80 characters.
But if we do so, it should be in Kconfig, not defconfig.
Quoted 34 lines
configs/pinetab_defconfig line 13
Quoted 10 lines
configs/pinetab_defconfig new file +9
-0+CONFIG_MACH_SUN50I=y +CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y +CONFIG_DRAM_CLK=552 +CONFIG_DRAM_ZQ=3881949 +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +# CONFIG_VIDEO_DE2 is not set +CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinetab" +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_BOOTDELAY=0I answered in the other email about the boot delay already.
So what is the reason for all those other options below?
Is there any particular reason they were all disabled?
I can buyCONFIG_NET, but the rest seems unnecessary. There doesn't seem to be a driver for the PineTab panel in U-Boot, so this is solely suppressing a few lines on the serial? Since this would be surely for debug only, I think it's useful to have them, normal users wouldn't see them anyway.configs/pinetab_defconfig line 21
Quoted 8 lines
configs/pinetab_defconfig new file +8
-0+CONFIG_SYS_CONSOLE_INFO_QUIET=y +# CONFIG_DISPLAY_CPUINFO is not set +# CONFIG_DISPLAY_BOARDINFO is not set +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set +# CONFIG_SPL_BANNER_PRINT is not set +# CONFIG_SPL_POWER_SUPPORT is not set +# CONFIG_NET is not set +# CONFIG_EFI_LOADER is not setWe should definitely keep
EFI_LOADER.Cheers,
Andre
PATCH 1/1 configs: add PineTab defconfig
In reply to Andre PrzywaraHi,
Le 08/03/2021 ? 01:12, Andre Przywara a ?crit?:
Quoted 18 lines
On Sun, 7 Mar 2021 13:53:56 +0100
Nicolas Boulenguez <[email protected]> wrote:Hi,
Quoted 13 lines
From: Arnaud Ferraris <[email protected]>
The PineTab device-tree is already in u-boot, this commit adds the corresponding defconfig, based on
pinephone_defconfig.Signed-off-by Arnaud Ferraris <[email protected]>board/sunxi/MAINTAINERS +0
-0@@ -471,6 +471,11 @@ M: Samuel Holland <[email protected]> S: Maintained F: configs/pinephone_defconfig
Quoted 8 lines
board/sunxi/MAINTAINERS M: Samuel Holland <[email protected]> · line 477
Quoted 4 lines
board/sunxi/MAINTAINERS +4
-0+PINETAB BOARD +M: Arnaud Ferraris <[email protected]> +S: Maintained +F: configs/pinetab_defconfigArnaud, do you agree with this?
Happy to take your patch via Nicolas, but for the maintainer entry I would like to have some confirmation.
Yes, I'm perfectly fine with this.
Quoted 30 lines
configs/pinetab_defconfig line 4
Quoted 12 lines
board/sunxi/MAINTAINERS +1
-0+ R16 EVB PARROT BOARD M: Quentin Schulz <[email protected]> S: Maintainedconfigs/pinetab_defconfig new file +4
-0@@ -0,0 +1,21 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_IDENT_STRING=""Having "Allwinner Technology" here is indeed weird and probably not really justified anymore, given the "support" we see from Allwinner. I wonder if we should scrap this for all boards. Also it makes the line longer than 80 characters.
configs/pinetab_defconfig line 13
Quoted 9 lines
configs/pinetab_defconfig new file +9
-0+CONFIG_MACH_SUN50I=y +CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y +CONFIG_DRAM_CLK=552 +CONFIG_DRAM_ZQ=3881949 +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +# CONFIG_VIDEO_DE2 is not set +CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinetab" +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_BOOTDELAY=0I answered in the other email about the boot delay already.
Quoted 7 lines
So what is the reason for all those other options below?
Is there any particular reason they were all disabled?
I can buyCONFIG_NET, but the rest seems unnecessary. There doesn't seem to be a driver for the PineTab panel in U-Boot, so this is solely suppressing a few lines on the serial? Since this would be surely for debug only, I think it's useful to have them, normal users wouldn't see them anyway.
I initially created this defconfig from a downstream pinephone_defconfig IIRC, I guess I just carried those over without thinking too much about it. I'll improve the defconfig and post an improved version soon.
Cheers,
Arnaud
Quoted 15 lines
configs/pinetab_defconfig line 21
Quoted 9 lines
configs/pinetab_defconfig new file +8
-0+CONFIG_SYS_CONSOLE_INFO_QUIET=y +# CONFIG_DISPLAY_CPUINFO is not set +# CONFIG_DISPLAY_BOARDINFO is not set +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set +# CONFIG_SPL_BANNER_PRINT is not set +# CONFIG_SPL_POWER_SUPPORT is not set +# CONFIG_NET is not set +# CONFIG_EFI_LOADER is not setWe should definitely keep
EFI_LOADER.Cheers,
Andre