in spark7162 uboot env can be read only from mtd7 = after insmod i2s.ko@morly
Amiko Alien 2+ ... Enigma2 bootargs is OK ...
I think that your fw_env.config (Spark7162.tool) u.boot linked not good with this type of receiver !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 ...
considers that ... / dev/mtd0 ... is empty (FF) and u-boot not linked!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
only if start i2s.ko module ... u-boot is linked to /dev/mdt7Code: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"
Let me know if you want to other test ... or correct offset that I should try, because fw_printenv display the bootargs environment!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"
Ciao ...