Ergebnis 1 bis 10 von 35

Hybrid-Darstellung

  1. #1
    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. #2
    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"


  4. #3
    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)


Berechtigungen

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