Changeset 29637 for trunk


Ignore:
Timestamp:
2012-01-01T20:30:29+01:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: add profile and build factory image for the Hornet-UB board

Location:
trunk/target/linux/ar71xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/generic/profiles/alfa.mk

    r29636 r29637  
    55# See /LICENSE for more information. 
    66# 
     7 
     8define Profile/HORNETUB 
     9        NAME:=ALFA Network Hornet-UB board 
     10        PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev 
     11endef 
     12 
     13define Profile/HORNETUB/Description 
     14        Package set optimized for the ALFA Network Hornet-UB board. 
     15endef 
     16 
     17$(eval $(call Profile,HORNETUB)) 
     18 
    719 
    820define Profile/ALFANX 
     
    1628 
    1729$(eval $(call Profile,ALFANX)) 
     30 
  • trunk/target/linux/ar71xx/image/Makefile

    r29636 r29637  
    303303endef 
    304304 
     305alfa_mtdlayout_8M=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6144k(rootfs),1600k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) 
    305306define Image/Build/ALFA 
    306         $(call MkuImageLzma,$(2),$(3) $($(4))) 
    307         $(call Sysupgrade/RK,$(1),$(2),$(5),$(6)) 
     307        $(call MkuImageLzma,$(2),$(3)) 
     308        $(call Sysupgrade/RK,$(1),$(2),$(4),$(5)) 
    308309        if [ -e "$(call sysupname,$(1),$(2))" ]; then \ 
    309310                rm -rf $(KDIR)/$(1); \ 
    310311                mkdir -p $(KDIR)/$(1); \ 
    311312                cd $(KDIR)/$(1); \ 
    312                 cp $(KDIR)/vmlinux-$(2).uImage $(KDIR)/$(1)/vmlinux.gz.uImage; \ 
    313                 cp $(KDIR)/root.$(1) $(KDIR)/$(1)/pb9x-2.6.31-jffs2; \ 
    314                 $(TAR) zcf $(call factoryname,$(1),$(2)) -C $(KDIR)/$(1) \ 
    315                         vmlinux.gz.uImage pb9x-2.6.31-jffs2; \ 
     313                cp $(KDIR)/vmlinux-$(2).uImage $(KDIR)/$(1)/$(6); \ 
     314                cp $(KDIR)/root.$(1) $(KDIR)/$(1)/$(7); \ 
     315                $(TAR) zcf $(call factoryname,$(1),$(2)) -C $(KDIR)/$(1) $(6) $(7); \ 
    316316                ( \ 
    317                         echo $(7) | dd bs=32 count=1 conv=sync; \ 
     317                        echo WRM7222C | dd bs=32 count=1 conv=sync; \ 
    318318                        echo -ne '\xfe'; \ 
    319319                ) >> $(call factoryname,$(1),$(2)); \ 
     
    583583endef 
    584584 
    585 alfa_nx_cmdline=board=ALFA-NX console=ttyS0,115200 
    586 alfa_nx_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6144k(rootfs),1600k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) 
     585alfa_nx_cmdline=board=ALFA-NX console=ttyS0,115200 $(alfa_mtdlayout_8M) 
    587586define Image/Build/Profile/ALFANX 
    588         $(call Image/Build/Template/$(fs_64k)/$(1),ALFA,alfa-nx,$(alfa_nx_cmdline),alfa_nx_mtdlayout,1638400,6291456,WRM7222C) 
     587        $(call Image/Build/Template/$(fs_64k)/$(1),ALFA,alfa-nx,$(alfa_nx_cmdline),1638400,6291456,vmlinux.gz.uImage,pb9x-2.6.31-jffs2) 
    589588endef 
    590589 
     
    656655endef 
    657656 
    658 hornetub_cmdline=board=HORNET-UB console=ttyATH0,115200 
    659 hornetub_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6144k(rootfs),1600k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) 
     657hornetub_cmdline=board=HORNET-UB console=ttyATH0,115200 $(alfa_mtdlayout_8M) 
    660658define Image/Build/Profile/HORNETUB 
    661         $(call Image/Build/Template/$(fs_64k)/$(1),AthLzma,hornet-ub,$(hornetub_cmdline),hornetub_mtdlayout,1638400,6291456,RK) 
     659        $(call Image/Build/Template/$(fs_64k)/$(1),ALFA,hornet-ub,$(hornetub_cmdline),1638400,6291456,kernel_image,rootfs_image) 
    662660endef 
    663661 
Note: See TracChangeset for help on using the changeset viewer.