Re: [LEDE-DEV] [PATCH v2 0/4] sunxi: rework image build and sysupgrade support

2017-01-01 Thread Yousong Zhou
On 2 January 2017 at 02:55, Zoltan HERPAI  wrote:
> Hi Yousong,
>
> Yousong Zhou wrote:
>>
>> This series mainly tries achieve the following goals
>>
>>  - use new image generation method
>>  - squashfs sdcard image support
>>  - mkfs.f2fs or mkfs.ext4 remaining space within squashfs rootfs partition
>> and
>>mount it as rw overlay
>>  - sysupgrade with fwtool check support
>>
>> Device profiles are automatically generated with a helper makefile.  Names
>> for
>> image files, board_names, etc. are changed to try to use basename of
>> kernel dts
>> file for the specific device.  Names for uboot-sunxi is not touched
>> though.
>>
>
> [snip]
>
> I'm OK with what these patches want to achieve. I had several patches
> prepared for similar purposes in sunxi (apart from the new image building
> code), but were never finalized due to responsibilities elsewhere, as one of
> the "obvious reasons" mentioned earlier (by Daniel IIRC). Whether you are
> merging these into trunk before or after your release and/or the merge, is
> obviously at your discretion.
>
> Having said that, if such major target reworks happen, and we seem to be
> geared towards a merge, it would be appreciated if you cc the openwrt-devel
> list so people over there would be aware.
>
> Thanks,
> Zoltan H
>

Well, posting to OpenWrt-devel with news about LEDE seems to me like
an act of propaganda/advertising/boasting or whatever the word could
be.  I do not think I have the role/hat/intention to play that...
Sorry

Besides, I do not think the extra mail will do much help anyway as
it's very likely those concerned with the merge are already subscribed
to both mailing lists.

The better plan could be there were two guys volunteered to each watch
activities of a single side and prepare a digest/summary/brief or any
such thing together with emphasis on their possible effects on
possible future merge and cross-post it to both openwrt-devel and
lede-dev.  That way we will have a written down records/checklist to
review for the merge to happen.

But I probably have talked too much and will digress if going any further...

Regards,
yousong

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v2 0/4] sunxi: rework image build and sysupgrade support

2017-01-01 Thread Zoltan HERPAI

Hi Yousong,

Yousong Zhou wrote:

This series mainly tries achieve the following goals

 - use new image generation method
 - squashfs sdcard image support
 - mkfs.f2fs or mkfs.ext4 remaining space within squashfs rootfs partition and
   mount it as rw overlay
 - sysupgrade with fwtool check support

Device profiles are automatically generated with a helper makefile.  Names for
image files, board_names, etc. are changed to try to use basename of kernel dts
file for the specific device.  Names for uboot-sunxi is not touched though.
  

[snip]

I'm OK with what these patches want to achieve. I had several patches 
prepared for similar purposes in sunxi (apart from the new image 
building code), but were never finalized due to responsibilities 
elsewhere, as one of the "obvious reasons" mentioned earlier (by Daniel 
IIRC). Whether you are merging these into trunk before or after your 
release and/or the merge, is obviously at your discretion.


Having said that, if such major target reworks happen, and we seem to be 
geared towards a merge, it would be appreciated if you cc the 
openwrt-devel list so people over there would be aware.


Thanks,
Zoltan H


___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


[LEDE-DEV] [PATCH v2 0/4] sunxi: rework image build and sysupgrade support

2016-12-31 Thread Yousong Zhou
This series mainly tries achieve the following goals

 - use new image generation method
 - squashfs sdcard image support
 - mkfs.f2fs or mkfs.ext4 remaining space within squashfs rootfs partition and
   mount it as rw overlay
 - sysupgrade with fwtool check support

Device profiles are automatically generated with a helper makefile.  Names for
image files, board_names, etc. are changed to try to use basename of kernel dts
file for the specific device.  Names for uboot-sunxi is not touched though.

Run-tested with cubitech,cubiboard2, compile-tested others

v2 <- v1:

 - rebased on staging/nbd
 - use $@.bootpart instead of relying on IMAGE_PREFIX when making the vfat boot
   partition
 - Setting PROFILES:=Default in Device/Default

Yousong Zhou (4):
  sunxi: convert to new image generation method
  sunxi: make sdcard image with squashfs as rootfs
  sunxi: add sysupgrade support
  sunxi: use fwtool for checking sdcard images

 target/linux/sunxi/Makefile|   3 +-
 .../linux/sunxi/base-files/etc/board.d/02_network  |   4 +-
 .../base-files/lib/preinit/01_preinit_sunxi.sh |   9 -
 .../sunxi/base-files/lib/preinit/02_b53_hack.sh|   2 +-
 .../sunxi/base-files/lib/preinit/79_move_config|  20 ++
 target/linux/sunxi/base-files/lib/sunxi.sh | 140 -
 .../linux/sunxi/base-files/lib/upgrade/platform.sh |  67 ++
 target/linux/sunxi/config-4.4  |   4 +
 target/linux/sunxi/image/Makefile  | 227 ++---
 target/linux/sunxi/image/gen_sunxi_sdcard_img.sh   |   3 +-
 target/linux/sunxi/profiles/01-default.mk  |  17 --
 target/linux/sunxi/profiles/a10-olinuxino.mk   |  19 --
 target/linux/sunxi/profiles/a13-olimex-som.mk  |  18 --
 target/linux/sunxi/profiles/a13-olinuxino.mk   |  18 --
 target/linux/sunxi/profiles/a20-olinuxino.mk   |  33 ---
 target/linux/sunxi/profiles/bananapi.mk|  18 --
 target/linux/sunxi/profiles/bananapro.mk   |  19 --
 target/linux/sunxi/profiles/cubieboard.mk  |  19 --
 target/linux/sunxi/profiles/cubieboard2.mk |  19 --
 target/linux/sunxi/profiles/cubietruck.mk  |  19 --
 target/linux/sunxi/profiles/lamobo-r1.mk   |  19 --
 target/linux/sunxi/profiles/mele_m9.mk |  18 --
 target/linux/sunxi/profiles/orangepi_plus.mk   |  18 --
 target/linux/sunxi/profiles/pcduino.mk |  18 --
 target/linux/sunxi/profiles/pcduino3.mk|  19 --
 25 files changed, 254 insertions(+), 516 deletions(-)
 delete mode 100644 
target/linux/sunxi/base-files/lib/preinit/01_preinit_sunxi.sh
 create mode 100644 target/linux/sunxi/base-files/lib/preinit/79_move_config
 create mode 100644 target/linux/sunxi/base-files/lib/upgrade/platform.sh
 delete mode 100644 target/linux/sunxi/profiles/01-default.mk
 delete mode 100644 target/linux/sunxi/profiles/a10-olinuxino.mk
 delete mode 100644 target/linux/sunxi/profiles/a13-olimex-som.mk
 delete mode 100644 target/linux/sunxi/profiles/a13-olinuxino.mk
 delete mode 100644 target/linux/sunxi/profiles/a20-olinuxino.mk
 delete mode 100644 target/linux/sunxi/profiles/bananapi.mk
 delete mode 100644 target/linux/sunxi/profiles/bananapro.mk
 delete mode 100644 target/linux/sunxi/profiles/cubieboard.mk
 delete mode 100644 target/linux/sunxi/profiles/cubieboard2.mk
 delete mode 100644 target/linux/sunxi/profiles/cubietruck.mk
 delete mode 100644 target/linux/sunxi/profiles/lamobo-r1.mk
 delete mode 100644 target/linux/sunxi/profiles/mele_m9.mk
 delete mode 100644 target/linux/sunxi/profiles/orangepi_plus.mk
 delete mode 100644 target/linux/sunxi/profiles/pcduino.mk
 delete mode 100644 target/linux/sunxi/profiles/pcduino3.mk

-- 
2.6.4


___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev