[OpenWrt-Devel] [patch v1 00/11] at91 patch series.

Hauke Mehrtens hauke at hauke-m.de
Sun Jun 9 07:59:36 EDT 2019


On 5/31/19 2:06 AM, Sandeep Sheriker M wrote:
> Hi,
>  This patch series contains 
> 
> 1. rework in creating sdcard images for different subtarget.
> 2. creating a fit images.
> 3. add support for sam9x5ek soc 
> 4. add uboot env file.
> 5. bump uboot & at91bootstrap to latest versions
> 

Hi,

I run into the following build problem with these patches:

rm -f
/home/hauke/openwrt/openwrt/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/tmp/openwrt-at91-sam9x-at91sam9x25ek-ext4-sdcard.img.gz.boot
mkfs.fat -C
/home/hauke/openwrt/openwrt/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/tmp/openwrt-at91-sam9x-at91sam9x25ek-ext4-sdcard.img.gz.boot
65536
mkfs.fat 4.1 (2017-01-24)
mcopy -i
/home/hauke/openwrt/openwrt/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/tmp/openwrt-at91-sam9x-at91sam9x25ek-ext4-sdcard.img.gz.boot
/home/hauke/openwrt/openwrt/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/at91sam9x25ek-fit-zImage.itb
::at91sam9x25ek-fit.itb
/home/hauke/openwrt/openwrt/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/at91sam9x25ek-fit-zImage.itb:
No such file or directory
make[5]: *** [Makefile:91:
/home/hauke/openwrt/openwrt/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/tmp/openwrt-at91-sam9x-at91sam9x25ek-ext4-sdcard.img.gz]
Error 1
make[5]: Leaving directory
'/home/hauke/openwrt/openwrt/target/linux/at91/image'
make[4]: *** [Makefile:25: install] Error 2
make[4]: Leaving directory '/home/hauke/openwrt/openwrt/target/linux/at91'
make[3]: *** [Makefile:13: install] Error 2
make[3]: Leaving directory '/home/hauke/openwrt/openwrt/target/linux'
time: target/linux/install#37.01#6.26#43.54
make[2]: *** [target/Makefile:25: target/linux/install] Error 2
make[2]: Leaving directory '/home/hauke/openwrt/openwrt'
make[1]: *** [target/Makefile:19:
/home/hauke/openwrt/openwrt/staging_dir/target-arm_arm926ej-s_musl_eabi/stamp/.target_install]
Error 2
make[1]: Leaving directory '/home/hauke/openwrt/openwrt'
make: *** [/home/hauke/openwrt/openwrt/include/toplevel.mk:218: world]
Error 2


hauke at hauke-t480:~/openwrt/openwrt$ ./scripts/diffconfig.sh
CONFIG_TARGET_at91=y
CONFIG_TARGET_at91_sam9x=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_at91sam9263ek=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_at91sam9g15ek=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_at91sam9g20ek=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_at91sam9g20ek_2mmc=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_at91sam9g25ek=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_at91sam9g35ek=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_at91sam9m10g45ek=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_at91sam9x25ek=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_at91sam9x35ek=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_lmu5000=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_tny_a9260=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_tny_a9263=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_tny_a9g20=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_usb_a9260=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_usb_a9263=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_usb_a9g20=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_ethernut5=y
CONFIG_TARGET_DEVICE_at91_sam9x_DEVICE_wb45n=y
CONFIG_TARGET_ALL_PROFILES=y
hauke at hauke-t480:~/openwrt/openwrt$ ls -al
/home/hauke/openwrt/openwrt/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/at91sam9x25ek-*
-rw-r--r-- 1 hauke hauke 3607738 Jun  9 13:56
/home/hauke/openwrt/openwrt/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/at91sam9x25ek-uImage
hauke at hauke-t480:~/openwrt/openwrt$




> 
> Sandeep Sheriker M (11):
>   uboot-at91: bump linux4sam_5.8 to linux4sam_6.0
>   uboot-at91:add at91sam9x5ek soc
>   uboot-at91: changed som1 ek default defconfigs
>   uboot-at91: fix -Wformat-security
>   at91bootstrap: bump v3.8.10 to v3.8.12
>   at91bootstrap: add support for at91sam9x5ek
>   at91bootstrap: add sama5d27_som1_eksd1_uboot as default defconfig
>   at91: move at91-sdcard command to sama5.mk
>   at91: add uboot environments
>   at91: create fit image
>   at91: create sdcard images for at91sam9x25 & at91sam9x25 boards.
> 
>  package/boot/at91bootstrap/Makefile                | 25 ++++++++++----
>  package/boot/uboot-at91/Makefile                   | 25 +++++++++-----
>  .../patches/001-fix-Wformat-security.patch         | 13 +++++++
>  target/linux/at91/image/Makefile                   | 33 ++----------------
>  target/linux/at91/image/sam9x.mk                   | 40 ++++++++++++++++++++++
>  target/linux/at91/image/sama5.mk                   | 38 ++++++++++++++++++++
>  target/linux/at91/image/uboot-env.txt              | 14 ++++++++
>  7 files changed, 143 insertions(+), 45 deletions(-)
>  create mode 100644 package/boot/uboot-at91/patches/001-fix-Wformat-security.patch
>  create mode 100644 target/linux/at91/image/uboot-env.txt
> 


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list