Re: [LEDE-DEV] [PATCH v1 0/3] at91 patch series.
Hi John, These patches should be applied on top of patch "[LEDE-DEV, 09/12] u-boot-at91: fix DTC command not found." (i.e Patch series subject [LEDE-DEV, 01/12] at91bootstrap:update to v3.8.10).However all of these patches have been accepted in http://patchwork.ozlabs.org/project/lede/list and I still don't see these accepted patches in master branch. do you want me to send a new patch series with all changes that have been accepted along these new patches ? Regards, Sandeep Sheriker M > -Original Message- > From: John Crispin [mailto:j...@phrozen.org] > Sent: Tuesday, May 1, 2018 10:28 PM > To: Sandeep Sheriker Mallikarjun - C17018 >; lede- > d...@lists.infradead.org > Subject: Re: [LEDE-DEV] [PATCH v1 0/3] at91 patch series. > > > > On 02/05/18 00:43, Sandeep Sheriker Mallikarjun wrote: > > sending below 3 patches with rebase. > > > > Sandeep Sheriker Mallikarjun (3): > >at91: reorganize at91 subtargets > >at91: Add SAMA5D2 PTC EK board > >at91: refreshing kernel configurations. > Hi, > I am having problems applying this series ontop of current HEAD. do i need to > apply any other patches before these work ? > John > > > package/boot/at91bootstrap/Makefile| 28 +- > > package/boot/uboot-at91/Makefile | 36 +- > > target/linux/at91/Makefile | 2 +- > > target/linux/at91/base-files/lib/at91.sh | 3 + > > target/linux/at91/config-4.9 | 445 > > ++--- > > target/linux/at91/image/Makefile | 51 ++- > > target/linux/at91/image/sama5.mk | 101 - > > target/linux/at91/image/sama5d2.mk | 31 ++ > > target/linux/at91/image/sama5d3.mk | 33 ++ > > target/linux/at91/image/sama5d4.mk | 19 + > > target/linux/at91/legacy/config-default| 239 +++ > > ...105-ARM-at91-build-dtb-for-sama5d2-ptc-Ek.patch | 442 > > > target/linux/at91/sama5/config-default | 52 --- > > target/linux/at91/sama5/target.mk | 9 - > > target/linux/at91/sama5d2/config-default | 287 + > > target/linux/at91/sama5d2/target.mk| 10 + > > target/linux/at91/sama5d3/config-default | 287 + > > target/linux/at91/sama5d3/target.mk| 10 + > > target/linux/at91/sama5d4/config-default | 287 + > > target/linux/at91/sama5d4/target.mk| 10 + > > 20 files changed, 2152 insertions(+), 230 deletions(-) > > delete mode 100644 target/linux/at91/image/sama5.mk > > create mode 100644 target/linux/at91/image/sama5d2.mk > > create mode 100644 target/linux/at91/image/sama5d3.mk > > create mode 100644 target/linux/at91/image/sama5d4.mk > > create mode 100644 target/linux/at91/patches-4.9/105-ARM-at91-build- > dtb-for-sama5d2-ptc-Ek.patch > > delete mode 100644 target/linux/at91/sama5/config-default > > delete mode 100644 target/linux/at91/sama5/target.mk > > create mode 100644 target/linux/at91/sama5d2/config-default > > create mode 100644 target/linux/at91/sama5d2/target.mk > > create mode 100644 target/linux/at91/sama5d3/config-default > > create mode 100644 target/linux/at91/sama5d3/target.mk > > create mode 100644 target/linux/at91/sama5d4/config-default > > create mode 100644 target/linux/at91/sama5d4/target.mk > > ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
Re: [LEDE-DEV] [PATCH 03/12] uboot-at91: fetch uboot src from u-boot-at91 github
Hi, Yes its pre patched. Contains new boards and latest changes which will be mainlined. Regards, Sandeep Sheriker M > -Original Message- > From: John Crispin [mailto:j...@phrozen.org] > Sent: Monday, April 2, 2018 10:19 PM > To: Sandeep Sheriker Mallikarjun - C17018 >; lede- > d...@lists.infradead.org > Subject: Re: [LEDE-DEV] [PATCH 03/12] uboot-at91: fetch uboot src from u- > boot-at91 github > > > > On 02/04/18 18:34, Sandeep Sheriker Mallikarjun wrote: > > fetching uboot src from linux4sam/u-boot-at91 github for all at91 > > target. > > > > Signed-off-by: Sandeep Sheriker Mallikarjun > > > > Hi, > Whats the difference between these uboots ? I am guessing its pre-patched > ? > John > > --- > > package/boot/uboot-at91/Makefile | 17 +++-- > > 1 file changed, 11 insertions(+), 6 deletions(-) > > > > diff --git a/package/boot/uboot-at91/Makefile > > b/package/boot/uboot-at91/Makefile > > index cad12ec..27b113e 100644 > > --- a/package/boot/uboot-at91/Makefile > > +++ b/package/boot/uboot-at91/Makefile > > @@ -7,10 +7,12 @@ > > > > include $(TOPDIR)/rules.mk > > > > -PKG_VERSION:=2016.05 > > +PKG_VERSION:=linux4sam_5.8 > > PKG_RELEASE:=1 > > > > - > PKG_HASH:=87d02275615aaf0cd007b54cbe9fbadceef2bee7c79e6c323ea1ae8 > 956d > > cb171 > > +PKG_SOURCE_PROTO:=git > > +PKG_SOURCE_URL:=https://github.com/linux4sam/u-boot-at91.git > > +PKG_SOURCE_VERSION:=59f202622154f82e708a6ca2bf86350a5c1b2d33 > > > > include $(INCLUDE_DIR)/u-boot.mk > > include $(INCLUDE_DIR)/package.mk > > @@ -30,7 +32,9 @@ endef > > define U-Boot/at91sam9x5ek_nandflash > > NAME:=AT91SAM9X5-EK board (NandFlash) > > BUILD_SUBTARGET:=legacy > > - BUILD_DEVICES:=at91sam9g15ek at91sam9g25ek at91sam9g35ek > > at91sam9x25ek at91sam9x35ek > > + BUILD_DEVICES:=at91sam9g15ek at91sam9g25ek \ > > + at91sam9g35ek at91sam9x25ek \ > > +at91sam9x35ek > > endef > > > > define U-Boot/sama5d3_xplained_nandflash @@ -87,9 +91,10 @@ > > UBOOT_TARGETS := \ > > sama5d4_xplained_nandflash > > > > define Build/Compile > > - +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ > > - CROSS_COMPILE=$(TARGET_CROSS) \ > > - KCFLAGS="$(filter-out -fstack-protector -mfloat-abi=hard, > $(TARGET_CFLAGS)) -mfloat-abi=soft" > > + +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ > > + CROSS_COMPILE=$(TARGET_CROSS) \ > > + KCFLAGS="$(filter-out -fstack-protector \ > > + -mfloat-abi=hard, $(TARGET_CFLAGS)) -mfloat-abi=soft" > > endef > > > > $(eval $(call BuildPackage/U-Boot)) ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
Re: [LEDE-DEV] Switches between LTS kernels and removal of previous LTSes
Hi Stijn, The reason for moving to 4.14 kernel version is to include Microchip (i.e. Atmel AT91) new SOC's which are already mainlined in LTS kernel version 4.14. I have also verified with all SAMA5 Xplained board & sam9x35 Evk board working with latest kernel version 4.14. Regards, Sandeep Sheriker M > -Original Message- > From: Stijn Segers [mailto:f...@volatilesystems.org] > Sent: Tuesday, January 9, 2018 12:09 AM > To: Sandeep Sheriker Mallikarjun - C17018 >; chunk...@gmail.com > Cc: lede-dev@lists.infradead.org; st...@linux-ipv6.be; j...@mein.io > Subject: Switches between LTS kernels and removal of previous LTSes > > Sorry, now the non-HTML version... > > Hi guys, > > I remember there was quite a bit of gnashing of teeth, when targets in > master dropped 4.4 support so quickly after 17.01 had been released (which > made it very cumbersome to backport 4.4 kernel bumps from master to the > stable branch). Wouldn't it be wiser to keep 4.9 kernels around for targets > that are being bumped to 4.14? > > Cheers > > Stijn ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
Re: [LEDE-DEV] [PATCH v2 1/1] at91: create sdcard image for sama5
Hi Hauke, I am not able to reproduce this error from my end. 1. Is it possible to share me the config files of the failed build? 2. If this is a random problem with the build bot, Then what is the status this patch ? Regards, Sandeep Sheriker > -Original Message- > From: Hauke Mehrtens [mailto:ha...@hauke-m.de] > Sent: Thursday, December 21, 2017 2:28 AM > To: Sandeep Sheriker Mallikarjun - C17018; lede-dev@lists.infradead.org > Subject: Re: [LEDE-DEV] [PATCH v2 1/1] at91: create sdcard image for sama5 > > > > On 12/12/2017 11:08 PM, Sandeep Sheriker Mallikarjun wrote: > > create sdcard image using gen_at91_sdcard_img.sh for sama5 platform > > and sdcard image partition layout is: > > P0: Boot (fat32) - contains(at91bootstrap,u-boot,zImage & dtb) > > p1: Rootfs (ext4) > > > > Signed-off-by: Sandeep Sheriker Mallikarjun > >> > Hi Sandeep, > > The build bot for at91/sama5 failed today, see this log: > http://phase1.builds.lede- > project.org/builders/at91%2Fsama5/builds/146/steps/images/logs/stdio > > This was stable for a long time: > http://phase1.builds.lede-project.org/builders/at91%2Fsama5 > > It looks like it build at least once with your patch here: > http://phase1.builds.lede-project.org/builders/at91%2Fsama5/builds/145 > > This could also be just a random problem with the build bot, but please > have a short look at the log file. > > Hauke ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
Re: [LEDE-DEV] [PATCH 3/3] at91: creating sdcard image for sama5
Hi Hauke, I have re- submitted new patch series version v1 along with missing patch. Regards, Sandeep Sheriker > -Original Message- > From: Hauke Mehrtens [mailto:ha...@hauke-m.de] > Sent: Thursday, October 12, 2017 1:43 PM > To: Sandeep Sheriker Mallikarjun - C17018; lede-dev@lists.infradead.org > Subject: Re: [LEDE-DEV] [PATCH 3/3] at91: creating sdcard image for sama5 > > On 10/12/2017 10:10 PM, sandeepsheriker.mallikar...@microchip.com > wrote: > > -Original Message- > > From: Hauke Mehrtens [mailto:ha...@hauke-m.de] > > Sent: Thursday, October 12, 2017 12:47 PM > > To: Sandeep Sheriker Mallikarjun - C17018; > > lede-dev@lists.infradead.org > > Subject: Re: [LEDE-DEV] [PATCH 3/3] at91: creating sdcard image for > > sama5 > > > > On 10/05/2017 01:14 AM, Sandeep Sheriker Mallikarjun wrote: > >> creating sdcard image using gen_at91_sdcard_img.sh for sama5 platform > >> and sdcard image partition layout is: > >> > >>P0: Boot (fat32) - Contains(at91bootstrap,u-boot,zImage & dtb) > >>p1: Rootfs (ext4) > >> > >> Signed-off-by: Sandeep Sheriker Mallikarjun > >>> >> --- > >> target/linux/at91/image/Makefile | 45 > >> ++ > >> .../image/gen_at91_sdcard_img.sh} | 9 +++-- > >> target/linux/at91/image/sama5.mk | 3 ++ > >> 3 files changed, 54 insertions(+), 3 deletions(-) copy > >> target/linux/{omap/image/gen_omap_sdcard_img.sh => > >> at91/image/gen_at91_sdcard_img.sh} (68%) > >> > >> diff --git a/target/linux/at91/image/Makefile > >> b/target/linux/at91/image/Makefile > >> index 9333709..628d3d8 100644 > >> --- a/target/linux/at91/image/Makefile > >> +++ b/target/linux/at91/image/Makefile > >> @@ -9,6 +9,11 @@ include $(INCLUDE_DIR)/image.mk > >> > >> KERNEL_LOADADDR := 0x20008000 > >> > >> +AT91_SD_BOOT_PARTSIZE:= 64 > >> +FAT32_BLOCK_SIZE:=1024 > >> +FAT32_BLOCKS:=$(shell echo \ > >> + $$(($(AT91_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE > >> + > >> ifeq ($(SUBTARGET),legacy) > >> include ./legacy.mk > >> UBIFS_OPTS := -m 2048 -e 126KiB -c 2048 @@ -48,6 +53,46 @@ define > >> Device/evaluation > >>IMAGE/root.ubi := append-ubi > >> endef > >> > >> +# $(CP) $(KDIR)/zImage \ > >> +# $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE_SANITIZED)-zImage > >> +define Build/at91-sdcard > >> + rm -f $@.boot > >> + mkfs.fat -C $@.boot $(FAT32_BLOCKS) > >> + > >> + mcopy -i $@.boot $(KDIR)/zImage ::zImage > >> + > >> + $(foreach dts,$(DEVICE_DTS), \ > >> + mcopy -i $@.boot $(DTS_DIR)/$(dts).dtb \ > >> +::$(dts).dtb; \ > >> + mcopy -i $@.boot \ > >> +$(BIN_DIR)/u-boot-$(dts:at91-%=%)_mmc/u-boot.bin \ > >> +::u-boot.bin; \ > >> + $(CP) $(BIN_DIR)/at91bootstrap-$(dts:at91-%=%)sd_uboot*/*.bin \ > >> + $(BIN_DIR)/BOOT.bin; \ > >> + mcopy -i $@.boot $(BIN_DIR)/BOOT.bin ::BOOT.bin;) > >> + > >> + ./gen_at91_sdcard_img.sh \ > >> + $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img \ > >> + $@.boot \ > >> + $(KDIR)/root.ext4 \ > >> + $(AT91_SD_BOOT_PARTSIZE) \ > >> + $(CONFIG_TARGET_ROOTFS_PARTSIZE) > >> + > >> + gzip -nc9 $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img \ > >> + > $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img.gz > >> + > >> + $(CP) $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img.gz \ > >> +$(BIN_DIR)/ > >> + > >> + rm -f $(BIN_DIR)/BOOT.bin > >> + rm -f $@.boot > >> +endef > >> + > >> +define Device/evaluation-sdimage > >> + IMAGES += sdcard.img.gz > >> + IMAGE/sdcard.img.gz := at91-sdcard endef > >> + > >> define Device/evaluation-zImage > >>IMAGES += zImage > >>IMAGE/zImage := install-zImage > >> diff --git a/target/linux/omap/image/gen_omap_sdcard_img.sh > >> b/target/linux/at91/image/gen_at91_sdcard_img.sh > >> similarity index 68% > >> copy from target/linux/omap/image/gen_omap_sdcard_img.sh > >> copy to target/linux/at91/image/gen_at91_sdcard_img.sh > >> index c2f2aad..16c76f0 100755 > >> --- a/target/linux/omap/image/gen_omap_sdcard_img.sh > >> +++ b/target/linux/at91/image/gen_at91_sdcard_img.sh > >> @@ -9,7 +9,9 @@ > >> > >> set -x > >> [ $# -eq 5 ] || { > >> -echo "SYNTAX: $0 > " > >> +echo "SYNTAX: $0 \ > >> +\ > >> + " > >> exit 1 > >> } > >> > >> @@ -20,9 +22,10 @@ BOOTFSSIZE="$4" > >> ROOTFSSIZE="$5" > >> > >> head=4 > >> -sect=63 > >> +sect=2048 > >> > >> -set `ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t c -p > >> ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M` > >> +set `ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t c -p \ > >> + ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M` > >> > >> BOOTOFFSET="$(($1 / 512))" > >> BOOTSIZE="$(($2 / 512))" > >> diff --git a/target/linux/at91/image/sama5.mk > >> b/target/linux/at91/image/sama5.mk > >> index 1610815..7d32875 100644 > >> --- a/target/linux/at91/image/sama5.mk > >> +++
Re: [LEDE-DEV] [PATCH 3/3] at91: creating sdcard image for sama5
-Original Message- From: Hauke Mehrtens [mailto:ha...@hauke-m.de] Sent: Thursday, October 12, 2017 12:47 PM To: Sandeep Sheriker Mallikarjun - C17018; lede-dev@lists.infradead.org Subject: Re: [LEDE-DEV] [PATCH 3/3] at91: creating sdcard image for sama5 On 10/05/2017 01:14 AM, Sandeep Sheriker Mallikarjun wrote: > creating sdcard image using gen_at91_sdcard_img.sh for sama5 platform > and sdcard image partition layout is: > >P0: Boot (fat32) - Contains(at91bootstrap,u-boot,zImage & dtb) >p1: Rootfs (ext4) > > Signed-off-by: Sandeep Sheriker Mallikarjun >> --- > target/linux/at91/image/Makefile | 45 > ++ > .../image/gen_at91_sdcard_img.sh} | 9 +++-- > target/linux/at91/image/sama5.mk | 3 ++ > 3 files changed, 54 insertions(+), 3 deletions(-) copy > target/linux/{omap/image/gen_omap_sdcard_img.sh => > at91/image/gen_at91_sdcard_img.sh} (68%) > > diff --git a/target/linux/at91/image/Makefile > b/target/linux/at91/image/Makefile > index 9333709..628d3d8 100644 > --- a/target/linux/at91/image/Makefile > +++ b/target/linux/at91/image/Makefile > @@ -9,6 +9,11 @@ include $(INCLUDE_DIR)/image.mk > > KERNEL_LOADADDR := 0x20008000 > > +AT91_SD_BOOT_PARTSIZE:= 64 > +FAT32_BLOCK_SIZE:=1024 > +FAT32_BLOCKS:=$(shell echo \ > + $$(($(AT91_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE > + > ifeq ($(SUBTARGET),legacy) > include ./legacy.mk > UBIFS_OPTS := -m 2048 -e 126KiB -c 2048 @@ -48,6 +53,46 @@ define > Device/evaluation >IMAGE/root.ubi := append-ubi > endef > > +# $(CP) $(KDIR)/zImage \ > +# $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE_SANITIZED)-zImage > +define Build/at91-sdcard > + rm -f $@.boot > + mkfs.fat -C $@.boot $(FAT32_BLOCKS) > + > + mcopy -i $@.boot $(KDIR)/zImage ::zImage > + > + $(foreach dts,$(DEVICE_DTS), \ > + mcopy -i $@.boot $(DTS_DIR)/$(dts).dtb \ > +::$(dts).dtb; \ > + mcopy -i $@.boot \ > +$(BIN_DIR)/u-boot-$(dts:at91-%=%)_mmc/u-boot.bin \ > +::u-boot.bin; \ > + $(CP) $(BIN_DIR)/at91bootstrap-$(dts:at91-%=%)sd_uboot*/*.bin \ > + $(BIN_DIR)/BOOT.bin; \ > + mcopy -i $@.boot $(BIN_DIR)/BOOT.bin ::BOOT.bin;) > + > + ./gen_at91_sdcard_img.sh \ > + $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img \ > + $@.boot \ > + $(KDIR)/root.ext4 \ > + $(AT91_SD_BOOT_PARTSIZE) \ > + $(CONFIG_TARGET_ROOTFS_PARTSIZE) > + > + gzip -nc9 $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img \ > + > $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img.gz > + > + $(CP) $(dir $@)$(IMG_PREFIX)-$(PROFILE_SANITIZED)-sdcard.img.gz \ > +$(BIN_DIR)/ > + > + rm -f $(BIN_DIR)/BOOT.bin > + rm -f $@.boot > +endef > + > +define Device/evaluation-sdimage > + IMAGES += sdcard.img.gz > + IMAGE/sdcard.img.gz := at91-sdcard > +endef > + > define Device/evaluation-zImage >IMAGES += zImage >IMAGE/zImage := install-zImage > diff --git a/target/linux/omap/image/gen_omap_sdcard_img.sh > b/target/linux/at91/image/gen_at91_sdcard_img.sh > similarity index 68% > copy from target/linux/omap/image/gen_omap_sdcard_img.sh > copy to target/linux/at91/image/gen_at91_sdcard_img.sh > index c2f2aad..16c76f0 100755 > --- a/target/linux/omap/image/gen_omap_sdcard_img.sh > +++ b/target/linux/at91/image/gen_at91_sdcard_img.sh > @@ -9,7 +9,9 @@ > > set -x > [ $# -eq 5 ] || { > -echo "SYNTAX: $0 > " > +echo "SYNTAX: $0 \ > +\ > + " > exit 1 > } > > @@ -20,9 +22,10 @@ BOOTFSSIZE="$4" > ROOTFSSIZE="$5" > > head=4 > -sect=63 > +sect=2048 > > -set `ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t c -p > ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M` > +set `ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t c -p \ > + ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M` > > BOOTOFFSET="$(($1 / 512))" > BOOTSIZE="$(($2 / 512))" > diff --git a/target/linux/at91/image/sama5.mk > b/target/linux/at91/image/sama5.mk > index 1610815..7d32875 100644 > --- a/target/linux/at91/image/sama5.mk > +++ b/target/linux/at91/image/sama5.mk > @@ -8,6 +8,7 @@ define Device/at91-sama5d3_xplained > at91bootstrap-sama5d3_xplainedsd_uboot \ > u-boot-sama5d3_xplained_mmc \ > u-boot-sama5d3_xplained_nandflash > + $(Device/evaluation-sdimage) > endef > TARGET_DEVICES += at91-sama5d3_xplained > > @@ -22,6 +23,7 @@ define Device/at91-sama5d2_xplained > at91bootstrap-sama5d2_xplainedsd_uboot \ > u-boot-sama5d2_xplained_mmc \ > u-boot-sama5d2_xplained_spiflash > + $(Device/evaluation-sdimage) > endef > TARGET_DEVICES += at91-sama5d2_xplained > > @@ -37,5 +39,6 @@ define Device/at91-sama5d4_xplained > u-boot-sama5d4_xplained_mmc \ > u-boot-sama5d4_xplained_nandflash \ > u-boot-sama5d4_xplained_spiflash > + $(Device/evaluation-sdimage) > endef >