* [Buildroot] [PATCH] configs/avenger96_defconfig: add support for Arrow Avenger96 board
@ 2021-02-07 15:55 Peter Korsgaard
2021-02-07 16:09 ` Baruch Siach
0 siblings, 1 reply; 9+ messages in thread
From: Peter Korsgaard @ 2021-02-07 15:55 UTC (permalink / raw)
To: buildroot
Very similar to the other stm32mp157-based boards, except that we use the
multi_v7 defconfig for ease of maintenance.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
DEVELOPERS | 2 +
.../overlay/boot/extlinux/extlinux.conf | 4 ++
board/arrow/avenger96/readme.txt | 39 +++++++++++++++++++
.../common/stm32mp157/post-image.sh | 2 +
configs/avenger96_defconfig | 33 ++++++++++++++++
5 files changed, 80 insertions(+)
create mode 100644 board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf
create mode 100644 board/arrow/avenger96/readme.txt
create mode 100644 configs/avenger96_defconfig
diff --git a/DEVELOPERS b/DEVELOPERS
index d2d94102b0..361ee2f35a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2026,6 +2026,7 @@ N: Pedro Aguilar <paguilar@paguilar.org>
F: package/libunistring/
N: Peter Korsgaard <peter@korsgaard.com>
+F: board/arrow/avenger96/
F: board/beagleboneai/
F: board/minnowboard/
F: board/librecomputer/lafrite/
@@ -2035,6 +2036,7 @@ F: board/orangepi/
F: board/pandaboard/
F: board/roseapplepi/
F: boot/shim/
+F: configs/avenger96_defconfig
F: configs/beagleboneai_defconfig
F: configs/lafrite_defconfig
F: configs/minnowboard_max-graphical_defconfig
diff --git a/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf b/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf
new file mode 100644
index 0000000000..5d506b3dae
--- /dev/null
+++ b/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf
@@ -0,0 +1,4 @@
+label stm32mp157c-dk2-buildroot
+ kernel /boot/zImage
+ devicetree /boot/stm32mp157a-dhcor-avenger96.dtb
+ append root=/dev/mmcblk1p4 rootwait
diff --git a/board/arrow/avenger96/readme.txt b/board/arrow/avenger96/readme.txt
new file mode 100644
index 0000000000..b99361a7e0
--- /dev/null
+++ b/board/arrow/avenger96/readme.txt
@@ -0,0 +1,39 @@
+Arrow Avenger96
+
+Intro
+=====
+
+This configuration supports the Arrow Avenger96 board:
+
+https://wiki.dh-electronics.com/index.php/Avenger96
+
+How to build
+============
+
+ $ make avenger96_defconfig
+ $ make
+
+How to write the microSD card
+=============================
+
+Once the build process is finished you will have an image called
+"sdcard.img" in the output/images/ directory.
+
+Copy the bootable "sdcard.img" onto an microSD card with "dd":
+
+ $ sudo dd if=output/images/sdcard.img of=/dev/sdX
+
+Boot the board
+==============
+
+ (1) Configure the boot switches for boot from microsd: 1-0-1
+
+ (2) Insert the microSD card in the slow
+
+ (3) Plug a serial adapter (beware: 1v8 levels!) to the low speed
+ expansion connector
+
+ (4) Plug in power cable
+
+ (5) The system will start, with the console on UART, but also visible
+ on the screen.
diff --git a/board/stmicroelectronics/common/stm32mp157/post-image.sh b/board/stmicroelectronics/common/stm32mp157/post-image.sh
index eec3cb739d..363c3127cf 100755
--- a/board/stmicroelectronics/common/stm32mp157/post-image.sh
+++ b/board/stmicroelectronics/common/stm32mp157/post-image.sh
@@ -14,6 +14,8 @@ atf_image()
echo "tf-a-stm32mp157c-dk2.stm32"
elif grep -Eq "DTB_FILE_NAME=stm32mp157a-dk1.dtb" <<< ${ATF_VARIABLES}; then
echo "tf-a-stm32mp157a-dk1.stm32"
+ elif grep -Eq "DTB_FILE_NAME=stm32mp157a-avenger96.dtb" <<< ${ATF_VARIABLES}; then
+ echo "tf-a-stm32mp157a-avenger96.stm32"
fi
}
diff --git a/configs/avenger96_defconfig b/configs/avenger96_defconfig
new file mode 100644
index 0000000000..6fea029bf8
--- /dev/null
+++ b/configs/avenger96_defconfig
@@ -0,0 +1,33 @@
+BR2_arm=y
+BR2_cortex_a7=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y
+BR2_ROOTFS_OVERLAY="board/arrow/avenger96/overlay/"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13"
+BR2_LINUX_KERNEL_DEFCONFIG="multi_v7"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157a-dhcor-avenger96"
+BR2_LINUX_KERNEL_INSTALL_TARGET=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157a-avenger96.dtb"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_DEBUG=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted"
+# BR2_TARGET_UBOOT_FORMAT_BIN is not set
+BR2_TARGET_UBOOT_FORMAT_STM32=y
+BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp15xx-dhcor-avenger96"
+BR2_PACKAGE_HOST_GENIMAGE=y
--
2.20.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] configs/avenger96_defconfig: add support for Arrow Avenger96 board
2021-02-07 15:55 [Buildroot] [PATCH] configs/avenger96_defconfig: add support for Arrow Avenger96 board Peter Korsgaard
@ 2021-02-07 16:09 ` Baruch Siach
2021-02-07 16:52 ` Yann E. MORIN
2021-02-07 21:49 ` Peter Korsgaard
0 siblings, 2 replies; 9+ messages in thread
From: Baruch Siach @ 2021-02-07 16:09 UTC (permalink / raw)
To: buildroot
Hi Peter,
On Sun, Feb 07 2021, Peter Korsgaard wrote:
> +How to write the microSD card
> +=============================
> +
> +Once the build process is finished you will have an image called
> +"sdcard.img" in the output/images/ directory.
> +
> +Copy the bootable "sdcard.img" onto an microSD card with "dd":
> +
> + $ sudo dd if=output/images/sdcard.img of=/dev/sdX
Maybe warn that this overwrites data on the SD card.
> +
> +Boot the board
> +==============
> +
> + (1) Configure the boot switches for boot from microsd: 1-0-1
> +
> + (2) Insert the microSD card in the slow
Slot?
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] configs/avenger96_defconfig: add support for Arrow Avenger96 board
2021-02-07 16:09 ` Baruch Siach
@ 2021-02-07 16:52 ` Yann E. MORIN
2021-02-07 17:00 ` Baruch Siach
2021-02-07 21:49 ` Peter Korsgaard
1 sibling, 1 reply; 9+ messages in thread
From: Yann E. MORIN @ 2021-02-07 16:52 UTC (permalink / raw)
To: buildroot
On 2021-02-07 18:09 +0200, Baruch Siach spake thusly:
> On Sun, Feb 07 2021, Peter Korsgaard wrote:
> > + $ sudo dd if=output/images/sdcard.img of=/dev/sdX
> Maybe warn that this overwrites data on the SD card.
As far as I could see, we don't do that in any of the 72 readme.txt we
already have...
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] configs/avenger96_defconfig: add support for Arrow Avenger96 board
2021-02-07 16:52 ` Yann E. MORIN
@ 2021-02-07 17:00 ` Baruch Siach
2021-02-07 17:52 ` Bartosz Bilas
0 siblings, 1 reply; 9+ messages in thread
From: Baruch Siach @ 2021-02-07 17:00 UTC (permalink / raw)
To: buildroot
Hi Yann,
On Sun, Feb 07 2021, Yann E. MORIN wrote:
> On 2021-02-07 18:09 +0200, Baruch Siach spake thusly:
>> On Sun, Feb 07 2021, Peter Korsgaard wrote:
>> > + $ sudo dd if=output/images/sdcard.img of=/dev/sdX
>> Maybe warn that this overwrites data on the SD card.
>
> As far as I could see, we don't do that in any of the 72 readme.txt we
> already have...
$ git grep WARNING -- board/
...
board/chromebook/elm/readme.txt:WARNING: make sure there is nothing important on that card,
board/chromebook/snow/readme.txt:WARNING: make sure there is nothing important on that card,
board/engicam/geam6ul/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/engicam/icorem6/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/engicam/icorem6_rqs/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/engicam/isiot/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/imx23evk/readme.txt:*** WARNING! The command will destroy all the card content. Use with care! ***
board/freescale/imx25pdk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/imx28evk/readme.txt:*** WARNING! The command will destroy all the card content. Use with care! ***
board/freescale/imx51evk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/imx6-sabresd/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/imx6sabre/readme.txt:*** WARNING! The script will destroy all the card content. Use with care! ***
board/freescale/imx6ulevk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/imx6ullevk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/imx7dsdb/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/imx8mmevk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/imx8mnevk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/imx8mqevk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/imx8qmmek/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/imx8qxpmek/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/freescale/warpboard/README:*** WARNING! This will destroy all the eMMC content. Use it with care! ***
board/grinn/chiliboard/readme.txt:*** WARNING! This will destroy all contents of device you specify! ***
board/grinn/liteboard/readme.txt:*** WARNING! This will destroy all contents of device you specify! ***
board/olimex/imx233_olinuxino/readme.txt:*** WARNING! The command will destroy all the card content. Use with care! ***
board/qmtech/zynq/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/solidrun/clearfog/readme.txt:*** WARNING! The dd command will destroy all the card content. Use with care! ***
board/technexion/imx6ulpico/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
board/technexion/imx7dpico/readme.txt:*** WARNING! This will destroy all the eMMC content. Use with care! ***
board/technexion/imx8mmpico/readme.txt:*** WARNING! This will destroy all the eMMC content. Use with care! ***
board/technexion/imx8mpico/readme.txt:*** WARNING! This will destroy all the eMMC content. Use with care! ***
board/warp7/readme.txt:*** WARNING! This will destroy all the eMMC content. Use it with care! ***
board/zynqmp/readme.txt:WARNING! This will destroy all the card content. Use with care!
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] configs/avenger96_defconfig: add support for Arrow Avenger96 board
2021-02-07 17:00 ` Baruch Siach
@ 2021-02-07 17:52 ` Bartosz Bilas
2021-02-07 20:09 ` Baruch Siach
0 siblings, 1 reply; 9+ messages in thread
From: Bartosz Bilas @ 2021-02-07 17:52 UTC (permalink / raw)
To: buildroot
Hi all,
On 2/7/21 6:00 PM, Baruch Siach wrote:
> Hi Yann,
>
> On Sun, Feb 07 2021, Yann E. MORIN wrote:
>> On 2021-02-07 18:09 +0200, Baruch Siach spake thusly:
>>> On Sun, Feb 07 2021, Peter Korsgaard wrote:
>>>> + $ sudo dd if=output/images/sdcard.img of=/dev/sdX
>>> Maybe warn that this overwrites data on the SD card.
>> As far as I could see, we don't do that in any of the 72 readme.txt we
>> already have...
> $ git grep WARNING -- board/
> ...
> board/chromebook/elm/readme.txt:WARNING: make sure there is nothing important on that card,
> board/chromebook/snow/readme.txt:WARNING: make sure there is nothing important on that card,
> board/engicam/geam6ul/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/engicam/icorem6/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/engicam/icorem6_rqs/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/engicam/isiot/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/imx23evk/readme.txt:*** WARNING! The command will destroy all the card content. Use with care! ***
> board/freescale/imx25pdk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/imx28evk/readme.txt:*** WARNING! The command will destroy all the card content. Use with care! ***
> board/freescale/imx51evk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/imx6-sabresd/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/imx6sabre/readme.txt:*** WARNING! The script will destroy all the card content. Use with care! ***
> board/freescale/imx6ulevk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/imx6ullevk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/imx7dsdb/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/imx8mmevk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/imx8mnevk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/imx8mqevk/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/imx8qmmek/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/imx8qxpmek/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/freescale/warpboard/README:*** WARNING! This will destroy all the eMMC content. Use it with care! ***
> board/grinn/chiliboard/readme.txt:*** WARNING! This will destroy all contents of device you specify! ***
> board/grinn/liteboard/readme.txt:*** WARNING! This will destroy all contents of device you specify! ***
> board/olimex/imx233_olinuxino/readme.txt:*** WARNING! The command will destroy all the card content. Use with care! ***
> board/qmtech/zynq/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/solidrun/clearfog/readme.txt:*** WARNING! The dd command will destroy all the card content. Use with care! ***
> board/technexion/imx6ulpico/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
> board/technexion/imx7dpico/readme.txt:*** WARNING! This will destroy all the eMMC content. Use with care! ***
> board/technexion/imx8mmpico/readme.txt:*** WARNING! This will destroy all the eMMC content. Use with care! ***
> board/technexion/imx8mpico/readme.txt:*** WARNING! This will destroy all the eMMC content. Use with care! ***
> board/warp7/readme.txt:*** WARNING! This will destroy all the eMMC content. Use it with care! ***
> board/zynqmp/readme.txt:WARNING! This will destroy all the card content. Use with care!
>
> baruch
>
Is not that obvious that dd will overwrite the data? Imo it's
superfluous information at all.
Best
Bartek
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] configs/avenger96_defconfig: add support for Arrow Avenger96 board
2021-02-07 17:52 ` Bartosz Bilas
@ 2021-02-07 20:09 ` Baruch Siach
2021-02-07 20:44 ` Yann E. MORIN
2021-02-07 22:12 ` Peter Korsgaard
0 siblings, 2 replies; 9+ messages in thread
From: Baruch Siach @ 2021-02-07 20:09 UTC (permalink / raw)
To: buildroot
Hi Bartosz,
On Sun, Feb 07 2021, Bartosz Bilas wrote:
> On 2/7/21 6:00 PM, Baruch Siach wrote:
>> On Sun, Feb 07 2021, Yann E. MORIN wrote:
>>> On 2021-02-07 18:09 +0200, Baruch Siach spake thusly:
>>>> On Sun, Feb 07 2021, Peter Korsgaard wrote:
>>>>> + $ sudo dd if=output/images/sdcard.img of=/dev/sdX
>>>> Maybe warn that this overwrites data on the SD card.
>>> As far as I could see, we don't do that in any of the 72 readme.txt we
>>> already have...
>> $ git grep WARNING -- board/
>> ...
>> board/chromebook/elm/readme.txt:WARNING: make sure there is nothing important on that card,
>> board/chromebook/snow/readme.txt:WARNING: make sure there is nothing important on that card,
>> board/engicam/geam6ul/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
>> ...
>>
> Is not that obvious that dd will overwrite the data? Imo it's superfluous
> information at all.
It might be obvious to you. Many newcomers don't know what dd is, or how
filesystem works. A warning can't hurt.
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] configs/avenger96_defconfig: add support for Arrow Avenger96 board
2021-02-07 20:09 ` Baruch Siach
@ 2021-02-07 20:44 ` Yann E. MORIN
2021-02-07 22:12 ` Peter Korsgaard
1 sibling, 0 replies; 9+ messages in thread
From: Yann E. MORIN @ 2021-02-07 20:44 UTC (permalink / raw)
To: buildroot
On 2021-02-07 22:09 +0200, Baruch Siach spake thusly:
> Hi Bartosz,
>
> On Sun, Feb 07 2021, Bartosz Bilas wrote:
> > On 2/7/21 6:00 PM, Baruch Siach wrote:
> >> On Sun, Feb 07 2021, Yann E. MORIN wrote:
> >>> On 2021-02-07 18:09 +0200, Baruch Siach spake thusly:
> >>>> On Sun, Feb 07 2021, Peter Korsgaard wrote:
> >>>>> + $ sudo dd if=output/images/sdcard.img of=/dev/sdX
> >>>> Maybe warn that this overwrites data on the SD card.
> >>> As far as I could see, we don't do that in any of the 72 readme.txt we
> >>> already have...
> >> $ git grep WARNING -- board/
> >> ...
> >> board/chromebook/elm/readme.txt:WARNING: make sure there is nothing important on that card,
> >> board/chromebook/snow/readme.txt:WARNING: make sure there is nothing important on that card,
> >> board/engicam/geam6ul/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
[--SNIP--]
OK, that's for sure not a small list, indeed...
I just had a look at a few readmes, and it seems my sampling was not
that fortunate:
board/acmesystems/aria-g25/readme.txt
board/acmesystems/arietta-g25/readme.txt
board/amarula/vyasa/readme.txt
board/asus/tinker/readme.txt
board/csky/readme.txt
board/orangepi/orangepi-plus/readme.txt
board/raspberrypi/readme.txt
board/warp7/readme.txt
And surely, we do not have that warning in all the readmes we have a
"sudo dd":
$ git grep 'sudo dd ' |wc -l
72
> > Is not that obvious that dd will overwrite the data? Imo it's superfluous
> > information at all.
> It might be obvious to you. Many newcomers don't know what dd is, or how
> filesystem works. A warning can't hurt.
I too believe that such a warning is superfluous. Working with things
like Buildroot really requires a bit of preliminary knowledge; we can't
take everyone by the hand and we should probably require quite some
prerequisites...
Yeah, the might sound haughty or elitist, but we have to draw the line
somewhere, and I believe usage of 'dd' and its consequences are below
that line...
Regards,
Yann E. MORIN.
>
> baruch
>
> --
> ~. .~ Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
> - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] configs/avenger96_defconfig: add support for Arrow Avenger96 board
2021-02-07 16:09 ` Baruch Siach
2021-02-07 16:52 ` Yann E. MORIN
@ 2021-02-07 21:49 ` Peter Korsgaard
1 sibling, 0 replies; 9+ messages in thread
From: Peter Korsgaard @ 2021-02-07 21:49 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> Hi Peter,
> On Sun, Feb 07 2021, Peter Korsgaard wrote:
>> +How to write the microSD card
>> +=============================
>> +
>> +Once the build process is finished you will have an image called
>> +"sdcard.img" in the output/images/ directory.
>> +
>> +Copy the bootable "sdcard.img" onto an microSD card with "dd":
>> +
>> + $ sudo dd if=output/images/sdcard.img of=/dev/sdX
> Maybe warn that this overwrites data on the SD card.
Sure, I can add this. Notice that this is a direct cut'n'paste of
board/stmicroelectronics/stm32mp157c-dk2/readme.txt
>> +
>> +Boot the board
>> +==============
>> +
>> + (1) Configure the boot switches for boot from microsd: 1-0-1
>> +
>> + (2) Insert the microSD card in the slow
> Slot?
Ups, indeed - Will fix.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] configs/avenger96_defconfig: add support for Arrow Avenger96 board
2021-02-07 20:09 ` Baruch Siach
2021-02-07 20:44 ` Yann E. MORIN
@ 2021-02-07 22:12 ` Peter Korsgaard
1 sibling, 0 replies; 9+ messages in thread
From: Peter Korsgaard @ 2021-02-07 22:12 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> Hi Bartosz,
> On Sun, Feb 07 2021, Bartosz Bilas wrote:
>> On 2/7/21 6:00 PM, Baruch Siach wrote:
>>> On Sun, Feb 07 2021, Yann E. MORIN wrote:
>>>> On 2021-02-07 18:09 +0200, Baruch Siach spake thusly:
>>>>> On Sun, Feb 07 2021, Peter Korsgaard wrote:
>>>>> + $ sudo dd if=output/images/sdcard.img of=/dev/sdX
>>>>> Maybe warn that this overwrites data on the SD card.
>>>> As far as I could see, we don't do that in any of the 72 readme.txt we
>>>> already have...
>>> $ git grep WARNING -- board/
>>> ...
>>> board/chromebook/elm/readme.txt:WARNING: make sure there is nothing important on that card,
>>> board/chromebook/snow/readme.txt:WARNING: make sure there is nothing important on that card,
>>> board/engicam/geam6ul/readme.txt:*** WARNING! This will destroy all the card content. Use with care! ***
>>> ...
>>>
>> Is not that obvious that dd will overwrite the data? Imo it's superfluous
>> information at all.
> It might be obvious to you. Many newcomers don't know what dd is, or how
> filesystem works. A warning can't hurt.
Indeed. I don't have a problem adding a oneliner warning. It doesn't
hurt, and it might indeed help stop someone from losing data.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-02-07 22:12 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-07 15:55 [Buildroot] [PATCH] configs/avenger96_defconfig: add support for Arrow Avenger96 board Peter Korsgaard
2021-02-07 16:09 ` Baruch Siach
2021-02-07 16:52 ` Yann E. MORIN
2021-02-07 17:00 ` Baruch Siach
2021-02-07 17:52 ` Bartosz Bilas
2021-02-07 20:09 ` Baruch Siach
2021-02-07 20:44 ` Yann E. MORIN
2021-02-07 22:12 ` Peter Korsgaard
2021-02-07 21:49 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.