X

Octagon 1008 - image enigma2 to flash

Einklappen
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • a4tech
    Neuer Benutzer
    • 17.12.2010
    • 40

    #16
    I think now I explained everythink

    Question is how to make same for Octagon 1008

    Kommentar

    • Thomas4711
      Erfahrene Benutzer
      • 14.08.2009
      • 37672

      #17
      octagon 1008 should be the same Box as Atevio 700, but it has its own reseller ID.
      ---------------------------

      et10000; D-Cube R2; Prismcube Ruby; Venton HD1; Mara M9 u.a.m mit OpenATV 4.1
      Astra 19,2 und 28,2 an Atemio Multischalter Premium-Line 9/20
      Ligawo HDMI Matrix 4x2 - Multifunction per spdif an LG NB3530A 2.1 Soundbar

      Kommentar

      • a4tech
        Neuer Benutzer
        • 17.12.2010
        • 40

        #18
        Yes I agree, only diffrent is Vendor ID.

        But how to make that image then for ATEVIO ??

        AAF image is released so it is possiable to do.

        Is it not public information ?

        Kommentar

        • Thomas4711
          Erfahrene Benutzer
          • 14.08.2009
          • 37672

          #19
          With ART you can change the reseller ID of your Octagon to Atevio.
          ---------------------------

          et10000; D-Cube R2; Prismcube Ruby; Venton HD1; Mara M9 u.a.m mit OpenATV 4.1
          Astra 19,2 und 28,2 an Atemio Multischalter Premium-Line 9/20
          Ligawo HDMI Matrix 4x2 - Multifunction per spdif an LG NB3530A 2.1 Soundbar

          Kommentar

          • a4tech
            Neuer Benutzer
            • 17.12.2010
            • 40

            #20
            I see, I will look for "ART", but how about packing image, which I wrote for Katherin, how to make same for Octagon/Atevio ??

            Kommentar

            • SoLaLa
              Super-Moderator
              • 11.02.2008
              • 8128

              #21
              Yes I agree, only diffrent is Vendor ID. But how to make that image then for ATEVIO ?? AAF image is released so it is possiable to do. Is it not public information ?
              yes,
              the make-flash-script and the other things which are nesessary for building the aaf-e2 image are only available for aaf svn developers.
              but the mechanism to build an av700 image is totally different to the ufs912 image update procedure. so this would not help you.

              your choice should be as i mentioned above:

              -build a new kernel with jffs2 support and new _your personal_ flashmemory layout
              for the beginning i would try:
              -mtd0 uboot
              -mtd1 for the kernel, absolut memadress A0040000 to A023FFFF, ~2MByte (actual the kernel is 1,8MB)
              -mtd2 for your jffs2 filesystem, absolut memadress A0240000 to A1FFFFFF ~30MByte jffs2
              -then strip and pack your files to a jffs2 partition image and
              -flash the two partitions or, better:
              concatinate the two partitions to a complete image so you can flash the whole image at once

              Kommentar

              • a4tech
                Neuer Benutzer
                • 17.12.2010
                • 40

                #22
                Thank You for informations. I will start to work.


                My last question is:


                "-then strip and pack your files to a jffs2 partition image and
                -flash the two partitions or, better:
                concatinate the two partitions to a complete image so you can flash the whole image at once "


                What do You mean by that ?? Can You make last tip in this thread ??

                Kommentar

                • a4tech
                  Neuer Benutzer
                  • 17.12.2010
                  • 40

                  #23
                  So I have commpiled my own kernel with jffs2 and squashfs support.

                  And as you said I did

                  ..../tdt/tdt/cvs/cdk/linux/arch/sh/boards/st/stb7100mboard/setup.c

                  Code:
                  #ifdef CONFIG_MTD_PHYSMAP
                  static struct mtd_partition mtd_parts_table[3] = {
                  	{
                  	 .name = "Boot firmware",
                  	 .size = 0x00040000,
                  	 .offset = 0x00000000,
                  	 },
                  	{
                  	 .name = "Kernel",
                  	 .size = 0x00100000,
                  	 .offset = 0xA0040000,
                  
                  	 },
                  	{
                  	 .name = "Root FS",
                  	 .size = MTDPART_SIZ_FULL,	/* will expand to the end of the flash */
                  	 .offset = 0xA0240000,
                  	 }
                  };
                  Now is time to pack image.


                  Can someone tell me how ??


                  I found in TDT Git makfile

                  paritionng


                  Code:
                  ....
                  
                  ...
                  ...
                  ...
                  
                  
                  ...
                  
                  ################################################################################
                  ###################### HDBOX FLASH #############################################
                  ################################################################################
                  HDBOX_KERNEL_PARTITION_SIZE=0x200000
                  
                  $(flashprefix)/mtdblock1.kernel-squashfs-hdbox.ubimage: \
                  			linux-kernel.do_compile | $(flashprefix)
                  	rm $@* >/dev/null 2>&1 || true
                  #	$(INSTALL) -m644 @DIR_linux@/arch/sh/boot/uImage $@
                  	$(INSTALL) -m644 $(KERNEL_DIR)/arch/sh/boot/uImage $@
                  	@FILESIZE=$$(stat -c%s $@); \
                  	kernel_partition_size=`echo -e "$(HDBOX_KERNEL_PARTITION_SIZE)" | tr '[a-f]' '[A-F]' | cut  -b3-`; \
                  	KERNELSIZE=`echo -e "ibase=16;$$hdbox_kernel_partition_size" | bc`; \
                  	if [ $$FILESIZE -gt $$KERNELSIZE ]; \
                  		then echo "fatal error: File $@ too large ($$FILESIZE > $$KERNELSIZE, $(HDBOX_KERNEL_PARTITION_SIZE))"; \
                  		rm $@; exit 1; \
                  	fi
                  	@TUXBOX_CUSTOMIZE@
                  
                  HDBOX_ROOT_PARTITION_SIZE=0xa00000
                  $(flashprefix)/mtdblock2.root-stock-hdbox.enigma2: $(flashprefix)/root-stock-hdbox-enigma2 $(MKSQUASHFS)
                  #$(flashprefix)/mtdblock.root-stock.%: $(flashprefix)/root-stock-% $(MKSQUASHFS)
                  	rm $@* >/dev/null 2>&1 || true
                  	( dir=$(flashprefix) && \
                  		echo "cd $</dev" > $$dir/.fakeroot && \
                  		echo "mknod -m 0600 console c 5 1" >> $$dir/.fakeroot && \
                  		echo "chown root:tty console" >> $$dir/.fakeroot && \
                  		echo "mknod -m 0666 null c 1 3" >> $$dir/.fakeroot && \
                  		echo "chown root:root null" >> $$dir/.fakeroot && \
                  		echo "mknod -m 0660 ttyAS0 c 204 40" >> $$dir/.fakeroot && \
                  		echo "chown root:proxy ttyAS0" >> $$dir/.fakeroot && \
                  		echo "mknod -m 0666 fuse c 10 229" >> $$dir/.fakeroot && \
                  		echo "mknod -m 0660 vfd c 147 0" >> $$dir/.fakeroot && \
                  		echo "MAKEDEV=\"$(flashprefix)/root-hdbox/sbin/MAKEDEV -p $(flashprefix)/root-hdbox/etc/passwd -g $(flashprefix)/root-hdbox/etc/group\"" >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} std' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} hda hdb' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} sda sdb sdc sdd' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} scd0 scd1' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} st0 st1' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} sg' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} ptyp ptyq' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} console' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} lp par audio fb rtc lirc st200 alsasnd' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} ppp busmice' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} ttyAS1 ttyAS2 ttyAS3' >> $$dir/.fakeroot && \
                  		echo 'ln -sf /dev/input/mouse0 mouse' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} input i2c mtd' >> $$dir/.fakeroot && \
                  		echo '$${MAKEDEV} dvb' >> $$dir/.fakeroot && \
                  		echo "mkdir pts" >> $$dir/.fakeroot && \
                  		echo "mkdir shm" >> $$dir/.fakeroot && \
                  		echo "$(MKSQUASHFS) $< $@ -noappend" >> $$dir/.fakeroot && \
                  		chmod 755 $$dir/.fakeroot && \
                  		$(FAKEROOT) -- $$dir/.fakeroot && \
                  		rm $$dir/.fakeroot )
                  #	$(MKSQUASHFS) $< $@ -noappend -le -force-uid 0 -force-gid 0 -all-root
                  	chmod 644 $@
                  	@FILESIZE=$$(stat -c%s $@); \
                  	hdbox_root_partition_size=`echo -e "$(HDBOX_ROOT_PARTITION_SIZE)" | tr '[a-f]' '[A-F]' | cut  -b3-`; \
                  	ROOTSIZE=`echo -e "ibase=16;$$hdbox_root_partition_size" | bc`; \
                  	if [ $$FILESIZE -gt $$ROOTSIZE ]; \
                  		then echo "fatal error: File $@ too large ($$FILESIZE > $$ROOTSIZE, $(HDBOX_ROOT_PARTITION_SIZE))"; \
                  		rm $@; exit 1; \
                  	fi
                  	@TUXBOX_CUSTOMIZE@
                  
                  HDBOX_DATA_PARTITION_SIZE=0x13C0000
                  $(flashprefix)/mtdblock3.var-stock-hdbox.enigma2: $(flashprefix)/var-stock-hdbox-enigma2 $(MKJFFS2) config.status
                  	rm $@* >/dev/null 2>&1 || true
                  #	( dir=$(flashprefix) && \
                  #		echo "cp -rd $(stockdir)/.dat/* $< || true" > $$dir/.fakeroot && \
                  #		echo "$(MKJFFS2) -e 0x20000 -r $< -o $@" >> $$dir/.fakeroot && \
                  #		chmod 755 $$dir/.fakeroot && \
                  #		$(FAKEROOT) -- $$dir/.fakeroot && \
                  #		rm $$dir/.fakeroot )
                  	$(MKJFFS2) -e 0x20000 -r $< -o $@
                  	chmod 644 $@
                  	@FILESIZE=$$(stat -c%s $@); \
                  	hdbox_data_partition_size=`echo -e "$(HDBOX_DATA_PARTITION_SIZE)" | tr '[a-f]' '[A-F]' | cut  -b3-`; \
                  	DATASIZE=`echo -e "ibase=16;$$hdbox_data_partition_size" | bc`; \
                  	if [ $$FILESIZE -gt $$DATASIZE ]; \
                  		then echo "fatal error: File $@ too large ($$FILESIZE > $$DATASIZE, $(HDBOX_DATA_PARTITION_SIZE))"; \
                  		rm $@; exit 1; \
                  	fi
                  	@TUXBOX_CUSTOMIZE@



                  Linux Kernel Packing:

                  Code:
                  sh4-linux-objcopy -O binary vmlinux vmlinux.bin
                  gzip --best --force vmlinux.bin
                  ./tools/mkimage -A sh -O linux -T kernel -C gzip -a 0x8a001000 -e 0x80002000 -n "Linux 2.6.17" -d vmlinux.bin.gz vmlinux.ub
                  u-boot log:

                  Code:
                  U-Boot 1.3.1 (Apr 28 2010 - 14:35:18) - stm23-0032
                  ---created by TDT for general purpose---
                  
                  DRAM:  128 MB
                  Flash:   32 MB
                  In:    serial
                  Out:   serial
                  Err:   serial
                  init Frontpanel... done, AV700
                  Hit any key to stop autoboot:  0
                  bootmenu_timeout:2000,default:9
                  add entry:0 - ---flash---
                  add entry:1 - empty
                  add entry:2 - empty
                  add entry:3 - empty
                  add entry:4 - empty
                  add entry:5 - empty
                  add entry:6 - empty
                  add entry:7 - empty
                  add entry:8 - empty
                  add entry:9 - ---e2-flash---
                  entering bootmenu - default:9 - ---e2-flash---
                  ## Booting image at a0040000 ...
                  Bad Header ChecksumÙ*
                  Anyone can help me ? Thank You

                  Kommentar

                  • linux&os2
                    Neuer Benutzer
                    • 28.12.2010
                    • 2

                    #24
                    Original von a4tech
                    Thank You for informations....


                    My problem is:

                    Code:
                    checking ost/dmx.h presence... no
                    checking for ost/dmx.h... no
                    checking linux/dvb/version.h usability... yes
                    checking linux/dvb/version.h presence... yes
                    checking for linux/dvb/version.h... yes
                    configure: found dvb version 3
                    ./configure: line 16695: syntax error near unexpected token `FREETYPE,'
                    ./configure: line 16695: `_TUXBOX_APPS_LIB_PKGCONFIG_OPTIONAL(FREETYPE, freetype2, HAVE_FREETYPE2)'
                    make: *** [/home/user/ducktales_git/tdt/tdt/cvs/apps/enigma2-nightly/config.status] Error 2
                    Perhaps I choosed wrong number.... Enigma2 from 11 DEC

                    ?
                    /home/user/ducktales_git/tdt/tdt/cvs/apps/enigma2-nightly/acinclude.m4 is missing

                    nevertheless see : http://gitorious.org/open-duckbox-pr...ode=sidebyside

                    I copied acinclude.m4 from .....apps/enigma2 directory

                    this error solved but later on still errors...

                    happy year-ending

                    Kommentar

                    • a4tech
                      Neuer Benutzer
                      • 17.12.2010
                      • 40

                      #25
                      Thank zou guysss.......seems that AAF are co close thread..... no word to u....

                      Kommentar

                      • SoLaLa
                        Super-Moderator
                        • 11.02.2008
                        • 8128

                        #26
                        -a 0x8a001000 -e 0x80002000
                        i think there is something wrong :-)

                        Kommentar

                        • a4tech
                          Neuer Benutzer
                          • 17.12.2010
                          • 40

                          #27
                          It is Ok, I run kernel well. It is MB448.


                          So Any news from AAF Team to help users, to make CLEAN enigma2 image ??

                          I can not get why Andy-1 Can not write anythink about that ??

                          Kommentar

                          Nicht konfiguriertes PHP-Modul

                          Einklappen

                          Octagon 1008 - image enigma2 to flash

                          Einklappen
                          Lädt...
                          X