Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Evolux for Pingulux ext. yaffs2

    Nobody is reading this thread right now.
AW: Evolux for Pingulux ext. yaffs2

Unspare2 will nicht, immer ioctl failed. Filezilla zeigt mir aber auch: /dev/mtd1 Dateigrösse 0
Ich schraub die Kiste heute Abend mal auf und schau nach, ob ich was fiinde.

Edit:
Für mtd3 gings.

Liegen nicht nur mt3 bis mtd6 im NAND?

oobimg.rar von mtd3

Bei dem Chip handelt es sich um einen:
TOSHIBA JUS704
TAIWAN 1206 9 A E
TC58NVG2S3ETA00



Edit:
Foto vom NAND
 
Zuletzt bearbeitet:
AW: Evolux for Pingulux ext. yaffs2

ein dev hat immer null byte da nur ein device.
oob liegt in der kernelpartition und müsste 328byte geben.
mtd3 is bei dir spark-kernel-partition?
nur orig und uboot liegen im nand bereich. e2 part liegt im nor-teil!(orig nand 512mb, e2-nor 128mb)
 
AW: Evolux for Pingulux ext. yaffs2

Ja, mtd3 ist bei mir spark-kernel.
Code:
<5>0x000000000000-0x000000080000 : "Boot firmware"
<5>0x000000080000-0x000000780000 : "Kernel"
<5>0x000000780000-0x000000800000 : "Reserve"
<6>NAND device: Manufacturer ID: 0x98, Chip ID: 0xdc (Toshiba NAND 512MiB 3,3V 8
-bit)
<6>Scanning device for bad blocks
<5>Creating 4 MTD partitions on "gen_nand.1":
<5>0x000000000000-0x000000800000 : "Spark kernel"
<5>0x000000800000-0x000018000000 : "Spark Userfs"
<5>0x000018000000-0x000018800000 : "E2 kernel"
<5>0x000018800000-0x00001ff00000 : "E2 Userfs"
 
AW: Evolux for Pingulux ext. yaffs2

nee soo kannst das nich sehen
mach mal wenn orig bootet hat:
telnet:
cat /proc/mtd

opeb die 1ten 2 zeilen sagen ja auch das mtd0=uboot und mtd1 kernel-spark is(

<5>0x000000080000-0x000000780000 : "Kernel")
und da orig auch yaffs2 is muss da en oob.img im spark-kernel vorhanden sein.

btw jffs2 und yaffs2 nutzen die gleichen settings bzlg nand.
wieso des bei jffs2 geht und dann bei yaffs2 nicht mehr begreife ich nicht.

ps: demnächst ist die git umstellung auf die neue url vollzogen und dann wird eh yaffs2 vorläufig nicht mehr verüfgbar sein da stm24-0211 nur aktuell jffs2 geht und aktuell auch die gmTriplex noch kein yaffs2 hack hat. wirds dann jffs2-evo geben für beide, was halt langsamer booten wird aber ich mach mir dann nich die 4fache arbeit zum unterteilen was wo wie etc...
 
AW: Evolux for Pingulux ext. yaffs2

Code:
[root@stlinux]#cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00010000 "Boot firmware"
mtd1: 00700000 00010000 "Kernel"
mtd2: 00080000 00010000 "Reserve"
mtd3: 00800000 00020000 "Spark kernel"
mtd4: 17800000 00020000 "Spark Userfs"
mtd5: 00800000 00020000 "E2 kernel"
mtd6: 07700000 00020000 "E2 Userfs"

Ich sehe das so, dass mtd0, mtd1 und mtd3 im Nor-Flash angelegt werden (physmap) und mtd4 - 6 im NAND (gen_nad.1)

Code:
Using physmap partition information
<5>Creating 3 MTD partitions on "physmap-flash":
<5>0x000000000000-0x000000080000 : "Boot firmware"
<5>0x000000080000-0x000000780000 : "Kernel"
<5>0x000000780000-0x000000800000 : "Reserve"
<6>NAND device: Manufacturer ID: 0x98, Chip ID: 0xdc (Toshiba NAND 512MiB 3,3V 8
-bit)
<6>Scanning device for bad blocks
<5>Creating 4 MTD partitions on "gen_nand.1":
<5>0x000000000000-0x000000800000 : "Spark kernel"
<5>0x000000800000-0x000018000000 : "Spark Userfs"
<5>0x000018000000-0x000018800000 : "E2 kernel"
<5>0x000018800000-0x00001ff00000 : "E2 Userfs"

Das unspare-Tool ist ausgelegt, den oob Bereich im NAND auszulesen.
Das kann daher nur bei mtd4-6 funktionieren. Was sagt denn, dass von mir hochgeladene oob.img?

Hier habe ich noch was gefunden, um NAND einzubinden, vielleicht scheitert es ja nur an den EXTENDED CHIP IDS.
Code:
[B]HOWTO implement NAND support[/B]

  [B]Where can you get the code ?[/B]

 The latest changes to JFFS2 and the underlying NAND code are not in the  kernel code at the moment. The latest code is available from  [URL="http://www.linux-mtd.infradead.org"]CVS and daily snapshots[/URL]
  There are four layers of software
 
[LIST=1]
[*]JFFS2: filesystem driver 
[*]MTD: Memory Technology Devices driver 
[*]NAND: generic NAND driver 
[*]Hardware specific driver 
[/LIST]
 the MTD driver just provides a mount point for JFFS2. The generic NAND  driver provides all functions, which are neccecary to identify,
 read, write  and erase NAND Flash. [COLOR=#ff0000]The hardware dependend functions are provided by  the hardware driver. They provide mainly the hardware access informations and functions for the generic NAND driver. For YAFFS applies the same.[/COLOR]
  [B]API Documentation[/B]

 A complete API documentation is available as DocBook template in the Documentation/DocBook directory of the MTD source tree.  
 Read the API documentation [B]Link ist nicht mehr aktiv.[/B]  
[B]Supported chips[/B]

 Most NAND chips actually available should be supported by the current code.  If you have a chip, which is not supported, you can easily add it by extending the chiplist in  drivers/mtd/nand/nand_ids.c. The chip name does not longer contain cryptic part numbers, as the device ID is just an information about size, erase block size, pagesize and operating voltage. Add an entry, which contains following information: 
                 { name, id, pagesize, chipsize, erasesize, options }
 [TABLE]
[TR]
[TD][B]ref[/B][/TD]
[TD][B]comment[/B][/TD]
[/TR]
[TR]
[TD]name[/TD]
[TD]string: "NAND 'size' 'voltage' 'bus-width'"[/TD]
[/TR]
[TR]
[TD]id[/TD]
[TD]chip device code. This code is read during nand_scan. Check datasheet  for the code of your chip[/TD]
[/TR]
[TR]
[TD]pagesize[/TD]
[TD]Page size (0,256,512). 0 indicates that the pagesize can be read out from the chip in the [COLOR=#ff0000]extended ID[/COLOR][/TD]
[/TR]
[TR]
[TD]chipsize[/TD]
[TD]The total size of the chip in MiB[/TD]
[/TR]
[TR]
[TD]erasesize[/TD]
[TD]the erasesize of your chip in bytes. 0 for chips with [COLOR=#ff0000]extended ID[/COLOR][/TD]
[/TR]
[TR]
[TD]options[/TD]
[TD]Options. Bitfield to enable chip specific options. See nand.h[/TD]
[/TR]
[/TABLE]
  Please contact NAND driver maintainer to include it in the public source tree. 
 Manufacturer codes are scanned during nand_scan too. If the code is one of the  known codes in the manufacturer ID table, the name of the manufacturer is printed out,  else "Unknown" is printed. This happens when your hardware driver  is loaded and calls nand_scan. Add codes, which are new and contact NAND driver  maintainer to include it
  [B]Config settings[/B]

 The following config switches have to be set. JFFS2 on NAND [B]does not[/B] work,  if one of these settings is missing.
                  CONFIG_MTD=y
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_YOURBOARD=y
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_NAND=y

 Make sure that fs/Config.in contains the following lines:
dep_tristate 'Journalling Flash File System v2 (JFFS2) support' CONFIG_JFFS2_FS $CONFIG_MTD
if [ "$CONFIG_JFFS2_FS" = "y" -o "$CONFIG_JFFS2_FS" = "m" ] ; then
   int 'JFFS2 debugging verbosity (0 = quiet, 2 = noisy)' CONFIG_JFFS2_FS_DEBUG 0
   bool 'JFFS2 support for NAND chips' CONFIG_JFFS2_FS_NAND
fi
Spark scheint den generic NAND Driver zu nutzen:
<5>Creating 4 MTD partitions on "gen_nand.1":
Verwendest Du eigentlich die selbe Kernelversion wie Spark?
Code:
<5>Linux version 2.6.32.42_stm24_V4.1-SAT7111_7111-STSDK -YW-STM24 0.0.02 v0.1.3
 (d26lf@linux-server19) (gcc version 4.5.3 20110525 (STMicroelectronics/Linux Ba
se 4.5.3-79) (GCC) ) #47 PREEMPT Tue Aug 7 17:15:36 CST 2012
Noch eine Idee...
Was haben Dein Evolux und das aktuelle ProtoluxV4 gemeinsam, was die anderen Images nicht haben?
Denn nur beide o.a. Images scheitern beim BOOT.
 
Zuletzt bearbeitet:
AW: Evolux for Pingulux ext. yaffs2

orig hat ne andere kernelbezeichnung daher kann man nich erkennen welche stm-version des sein soll.
und nee im nand liegt orig und nich e2-part.!
siehst schon daran das nand 512mb hat und die root-fspart vom orig 384mb gross ist.
im nor liegt dann e2-part wo chip 128mb gross ist.

protolux geht auch nicht ?
is ja jffs2!
wenn dem so ist liegts nich am filesystem/yaffs2
hab ja auch img für gmTriplex hier laufen allerdings nur jffs2 aber die büchse hat auch toshiba ram(identisch).

edit: ich seh da grad was in kernelconfig. kleiner unterschied bei beiden.
ich werd ma die option bei spark auch setzen und en kernel backen den man(ihr) dann bitte erneut testen tut.

so hier uImage-V6:
 
Zuletzt bearbeitet:
AW: Evolux for Pingulux ext. yaffs2

Soll ich jetzt nur das uimage tauschen oder auch die e2jiffs2.img, die im Download enthalten ist?
 
AW: Evolux for Pingulux ext. yaffs2

zuerst einmal is in dem dl-link nur des uImage.
zum 2ten is das immer noch yaffs2!
somit kannst auch gar nich e2jffs2.img flashen denn das is das falsche!
das img heisst: e2yaffs2.img!! und ist in der Link ist nicht mehr aktiv. zu finden! (uImage daraus halt mit V6 ersetzen!)
das beides auf stick und flashen via orig-boot+script!
bitte sagt nicht das ihr die ganze zeit versucht habt en jffs2-img zu flashen oder des file umbenannt habt dazu!
das kann nicht gehen!
uImage und e2yaffs2.img in folder "enigma2" auf stick sowie des andere zeugs was zum flashen benötigt wird auf stick und flashen und testen!
 
AW: Evolux for Pingulux ext. yaffs2

Nein, mein Fehler. Hatte gerade das falsche Verzeichnis...
Alles ok, werd das image gleich probieren.

Ergebnis dasselbe, aber etwas andere Fehlermeldung.
EVOV6:
Code:
Using physmap partition information
Creating 3 MTD partitions on "physmap-flash":
0x000000000000-0x000000080000 : "Boot firmware"
0x000000080000-0x000000780000 : "Kernel"
0x000000780000-0x000000800000 : "Reserve"
stm-nand-emi: Configuring EMI Bank 1 for NAND access
[MTD][NAND]: nand_decode_id: failed to decode NAND device ID
Failed to decode NAND READID [98 dc 90 15]
No NAND device found!!!
stm-nand-emi: nand_scan failed
[COLOR=#ff0000]No NAND device found!!!
stm-nand-flex:nand_scan failed[/COLOR]

Evo-alt:
Code:
stm-nand-emi: Configuring EMI Bank 1 for NAND access
[MTD][NAND]: nand_decode_id: failed to decode NAND device ID
Failed to decode NAND READID [98 dc 90 15]
No NAND device found!!!
stm-nand-emi: nand_scan failed

Habe jetzt nochmal folgende Images eingespielt, die alle laufen:
Neuprolux_v2
HDMU_1201
Neuprolux_HD_V2.1

Bein Neuprolux_HD schaut das Boot-Log beim einbinden der mtd sehr ähnlich aus, bis auf eine Ausnahme:
Code:
Using physmap partition information
[    0.432000] Creating 3 MTD partitions on "physmap-flash":
[    0.436000] 0x000000000000-0x000000080000 : "Boot firmware"
[    0.440000] 0x000000080000-0x000000780000 : "Kernel"
[    0.448000] 0x000000780000-0x000000800000 : "Reserve"
[    0.452000] stm-nand-emi: Configuring EMI Bank 1 for NAND access
[    0.456000] NAND device: Manufacturer ID: 0x98, Chip ID: 0xdc (Toshiba NAND 512MiB 3,3V 8-bit)
[    0.460000] Creating 4 MTD partitions on "stm-nand-emi.[COLOR=#ff0000]0[/COLOR]":
[    0.464000] 0x000000000000-0x000000800000 : "Spark Kernel"
[    0.472000] 0x000000800000-0x000018000000 : "Spark Rootfs"
[    0.476000] 0x000018000000-0x000018800000 : "E2 Kernel"
[    0.484000] 0x000018800000-0x00001ff00000 : "E2 RootFs"

Nur noch zur Info, ein nand info im U-Boot gibt folgendes aus:
MB618> nand info

Device 0: NAND 512MiB 3,3V 8-bit, sector size 128 KiB
 
Zuletzt bearbeitet:
AW: Evolux for Pingulux ext. yaffs2

Hi bin jetzt auf Neutrino HD2 wie komme ich zurück zu Neutrino HD kann im Menü keine Einstellung finden?

Lg
 
AW: Evolux for Pingulux ext. yaffs2

Steht im 1. Post in den Changelogs versteckt:

- 1st release of ntrino-hd and ntrino-hd2 for flash (thx mohousch)
(default bootup ntrino-hd and you can switch by osd to ntrino-hd2,
back from ntrino-hd2 to ntrino-hd: "rm /etc/.nhd2 && reboot -f",
or add plugins to user-blue-panel and select "startNHD")
 
AW: Evolux for Pingulux ext. yaffs2

hmm also in nand_ids.c is der speicher mit 512kb size angegeben.
ich ändere es mal auf 128kb und dann bitte nochmals testen V7....
 
AW: Evolux for Pingulux ext. yaffs2

Hallo!

Habe schon gesucht, aber keine konkrete Antwort gefunden:

kann ich, wenn ich Evolux geflasht habe auch ohne das ändern des dateisystems auf jffs2 ein "normales" Image flashen also z.B. NeuProLux ??

Wenn nein, wie flashe ich wieder auf jffs2 zurück?
flash_E2_yaffs2.sh fragt bei der Ausführung nicht nach(Option 2), die wahrscheinlich nötigen Zeilen im flash_E2_yaffs2.sh sind auskommentiert.

Danke schonmal!

doedel
 
Zurück
Oben