Seite 3 von 4 ErsteErste 1234 LetzteLetzte
Ergebnis 21 bis 30 von 35
  1. #21
    Developer
    Registriert seit
    11.06.2012
    Beiträge
    70
    Thanks
    1
    Thanked 40 Times in 24 Posts
    Zitat Zitat von arci Beitrag anzeigen
    @morly

    Amiko Alien 2+ ... Enigma2 bootargs is OK ...

    Code:
    Starting kernel console=ttyAS1,115200 rw root=/dev/mtdblock6 rootfstype=jffs2 init=/bin/devinit coprocessor_mem=4m@0x40000000,4m@0x40400000 printk=1 ip=172.100.100.249:172.100.100.174:172.100.100.174:255.255.0.0:Enigma2:eth0:off stmmaceth=msglvl:0,phyaddr:2,watchdog:5000 bigphysarea=6000 nwhwconf=device:eth0,hwaddr:30:00:0A:00:xx:xx Manufacture=Spark-Project STB_ID=0C:00:0A:00:00:xx:xx - 0x00000000 - 0 ...
    I think that your fw_env.config (Spark7162.tool) u.boot linked not good with this type of receiver !
    Code:
    # Configuration file for fw_(printenv/saveenv) utility.
    # Up to two entries are valid, in this case the redundand
    # environment sector is assumed present.
    # MTD device name Device offset Env. size Flash sector size
    /dev/mtd0               0x00060000      0x00020000      0x20000
    considers that ... / dev/mtd0 ... is empty (FF) and u-boot not linked!

    Code:
    host135:~# cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00100000 00020000 "uboot"
    mtd1: 00a00000 00020000 "Spark kernel"
    mtd2: 00700000 00020000 "Reserve0"
    mtd3: 00200000 00020000 "Reserve1"
    mtd4: 16c00000 00020000 "Spark Userfs"
    mtd5: 00800000 00020000 "E2 kernel"
    mtd6: 07700000 00020000 "E2 Userfs"
    only if start i2s.ko module ... u-boot is linked to /dev/mdt7

    Code:
    host135:~# cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00100000 00020000 "uboot"
    mtd1: 00a00000 00020000 "Spark kernel"
    mtd2: 00700000 00020000 "Reserve0"
    mtd3: 00200000 00020000 "Reserve1"
    mtd4: 16c00000 00020000 "Spark Userfs"
    mtd5: 00800000 00020000 "E2 kernel"
    mtd6: 07700000 00020000 "E2 Userfs"
    mtd7: 00100000 00010000 "uboot"
    Let me know if you want to other test ... or correct offset that I should try, because fw_printenv display the bootargs environment!

    Ciao ...
    in spark7162 uboot env can be read only from mtd7 = after insmod i2s.ko

  2. The Following User Says Thank You to zdzislaw22 For This Useful Post:



  3. #22
    Erfahrener Benutzer Avatar von svox
    Registriert seit
    25.03.2013
    Beiträge
    336
    Thanks
    51
    Thanked 28 Times in 20 Posts
    Mit dem GM Triplex schauts gut aus

  4. The Following User Says Thank You to svox For This Useful Post:



  5. #23
    Moderator Avatar von morly
    Registriert seit
    15.07.2012
    Ort
    Österreich
    Beiträge
    6.684
    Thanks
    789
    Thanked 2.764 Times in 1.357 Posts
    Zitat Zitat von zdzislaw22 Beitrag anzeigen
    in spark7162 uboot env can be read only from mtd7 = after insmod i2s.ko
    what would be the workaround to read the args without opening mtd7 wiht insmod i2s.ko ?
    you said there is a working binary in the image - can you provide it to create a tools packages for the admin tool?
    thanks, morly
    "Every Setback is a Set Up for a Comeback"


  6. #24
    Erfahrener Benutzer
    Registriert seit
    15.12.2012
    Beiträge
    183
    Thanks
    176
    Thanked 80 Times in 56 Posts
    Yes ... and I found a correct /dev/mtd7 param offset for all env: Thanks zdzislaw

    Code:
    http://dev.duckbox.info/cgi-bin/cgit.cgi/tdt/commit/?id=4198111557fefb3f05aa1ae03d7d2f6db8ab1690
    Code:
    /dev/mtd7               0x000A0000      0x00020000      0x20000
    SH4 STB Admin Tool.jpg

    Now it's up to you ... experts !

    Ciao ...
    Geändert von arci (02.04.2013 um 21:20 Uhr)


  7. #25
    Moderator Avatar von morly
    Registriert seit
    15.07.2012
    Ort
    Österreich
    Beiträge
    6.684
    Thanks
    789
    Thanked 2.764 Times in 1.357 Posts
    @arci: could you please try the new tools archive (just replace the existing one from the Tools folder)
    before testing please reboot the box (just in case...)
    Angehängte Dateien Angehängte Dateien
    "Every Setback is a Set Up for a Comeback"


  8. #26
    Erfahrener Benutzer
    Registriert seit
    15.12.2012
    Beiträge
    183
    Thanks
    176
    Thanked 80 Times in 56 Posts
    Zitat Zitat von morly Beitrag anzeigen
    @arci: could you please try the new tools archive (just replace the existing one from the Tools folder)
    before testing please reboot the box (just in case...)
    Like a charm ... @morly

    Reboot for clean and change packet tools:

    SH4 STB Admin Tool_new.jpg
    Morly_MTD7.jpg


    Thanks ... Ciao


  9. #27
    Moderator Avatar von morly
    Registriert seit
    15.07.2012
    Ort
    Österreich
    Beiträge
    6.684
    Thanks
    789
    Thanked 2.764 Times in 1.357 Posts
    ... not so bad
    Thanks for testing!
    "Every Setback is a Set Up for a Comeback"

  10. The Following User Says Thank You to morly For This Useful Post:



  11. #28
    Erfahrener Benutzer
    Registriert seit
    15.12.2012
    Beiträge
    183
    Thanks
    176
    Thanked 80 Times in 56 Posts
    @ morly

    If Zdzislaw helps you ... you may make a small script (dd) or better a object code module for u-boot backup (bin format) that would be useful in case of need (TFTP)!

    The choice is yours! ...Think about it ...

    Have a good Evening ! ... Ciao


  12. #29
    Developer
    Registriert seit
    11.06.2012
    Beiträge
    70
    Thanks
    1
    Thanked 40 Times in 24 Posts
    Guys,

    I strongly advice you to NOT insmod i2s.ko during initial connection to the spark7162 box. Usage of it brakes normal operations and reboot is needed. I would propose to add it when user selects bootargs menu and only after confirmation.

  13. The Following User Says Thank You to zdzislaw22 For This Useful Post:



  14. #30
    Moderator Avatar von morly
    Registriert seit
    15.07.2012
    Ort
    Österreich
    Beiträge
    6.684
    Thanks
    789
    Thanked 2.764 Times in 1.357 Posts
    Zitat Zitat von zdzislaw22 Beitrag anzeigen
    I would propose to add it when user selects bootargs menu and only after confirmation.
    yes - this is exactly how it is implemented in 1.2
    I stopped loading bootargs by default (user can still activate this option) - and I added a "confirmation dialog" for the spark7162
    "Every Setback is a Set Up for a Comeback"


Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •