/proc # ls -l
dr-xr-xr-x 3 root root 0 Jan 1 00:55 1
dr-xr-xr-x 3 root root 0 Jan 1 00:55 10
dr-xr-xr-x 3 root root 0 Jan 1 00:55 161
dr-xr-xr-x 3 root root 0 Jan 1 00:55 2
dr-xr-xr-x 3 nobody root 0 Jan 1 00:55 26
dr-xr-xr-x 3 root root 0 Jan 1 00:55 29
dr-xr-xr-x 3 root root 0 Jan 1 00:55 3
dr-xr-xr-x 3 nobody nobodygr 0 Jan 1 00:55 30
dr-xr-xr-x 3 root root 0 Jan 1 00:55 4
dr-xr-xr-x 3 root root 0 Jan 1 00:55 5
dr-xr-xr-x 3 root root 0 Jan 1 00:55 59
dr-xr-xr-x 3 root root 0 Jan 1 00:55 6
dr-xr-xr-x 3 root root 0 Jan 1 00:55 60
dr-xr-xr-x 3 root root 0 Jan 1 00:55 9
dr-xr-xr-x 3 root root 0 Jan 1 00:55 bus
-r--r--r-- 1 root root 0 Jan 1 00:55 cmdline
-r--r--r-- 1 root root 0 Jan 1 00:55 cpuinfo
-r--r--r-- 1 root root 0 Jan 1 00:55 devices
-r--r--r-- 1 root root 0 Jan 1 00:55 dma
dr-xr-xr-x 2 root root 0 Jan 1 00:55 driver
-r--r--r-- 1 root root 0 Jan 1 00:55 execdomains
-r--r--r-- 1 root root 0 Jan 1 00:55 filesystems
dr-xr-xr-x 2 root root 0 Jan 1 00:55 fs
-r--r--r-- 1 root root 0 Jan 1 00:55 interrupts
-r--r--r-- 1 root root 0 Jan 1 00:55 iomem
-r--r--r-- 1 root root 0 Jan 1 00:55 ioports
dr-xr-xr-x 50 root root 0 Jan 1 00:55 irq
-r-------- 1 root root 16781312 Jan 1 00:55 kcore
-r-------- 1 root root 0 Jan 1 00:55 kmsg
-r--r--r-- 1 root root 0 Jan 1 00:55 ksyms
-r--r--r-- 1 root root 0 Jan 1 00:55 loadavg
-r--r--r-- 1 root root 0 Jan 1 00:55 locks
-r--r--r-- 1 root root 0 Jan 1 00:55 meminfo
-r--r--r-- 1 root root 0 Jan 1 00:55 misc
-r--r--r-- 1 root root 0 Jan 1 00:55 modules
lrwxrwxrwx 1 root root 11 Jan 1 00:55 mounts -> self/mounts
-r--r--r-- 1 root root 0 Jan 1 00:55 mtd
dr-xr-xr-x 4 root root 0 Jan 1 00:55 net
-r--r--r-- 1 root root 0 Jan 1 00:55 partitions
-rw-r--r-- 1 root root 0 Jan 1 00:55 ppc_htab
lrwxrwxrwx 1 root root 64 Jan 1 00:01 self -> 161
-rw-r--r-- 1 root root 0 Jan 1 00:55 slabinfo
-r--r--r-- 1 root root 0 Jan 1 00:55 stat
-r--r--r-- 1 root root 0 Jan 1 00:55 swaps
dr-xr-xr-x 11 root root 0 Jan 1 00:55 sys
dr-xr-xr-x 2 root root 0 Jan 1 00:55 sysvipc
dr-xr-xr-x 4 root root 0 Jan 1 00:55 tty
-r--r--r-- 1 root root 0 Jan 1 00:55 uptime
-r--r--r-- 1 root root 0 Jan 1 00:55 version
/proc #
/proc # cat ioports
/proc #
Comme tu le vois ioports ne donne rien en informations. la suite dit ceci
/proc # cat cpuinfo
processor : 0
cpu : 8xx
clock : 50MHz
bus clock : 50MHz
revision : 0.0 (pvr 0050 0000)
bogomips : 49.76
/proc #
C'est un Powerpc: la suite dit
/proc # cat devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
10 misc
90 mtd
101 epld
108 ppp
128 ptm
136 pts
162 raw
254 pcmcia
Block devices:
31 mtdblock
/proc #
Le Powerpc est défini comme un périphérique? Dans ce cas je peux modifier et reconfigurer le μP a chaud? non?
Je plane à mille lieu avec ce systeme.
Help!!!!
[^] # Re: /dev/kcore et périphériques
Posté par Toufik YAHIA . En réponse au message dev/mem mémoire physique. Évalué à 1.
dr-xr-xr-x 3 root root 0 Jan 1 00:55 1
dr-xr-xr-x 3 root root 0 Jan 1 00:55 10
dr-xr-xr-x 3 root root 0 Jan 1 00:55 161
dr-xr-xr-x 3 root root 0 Jan 1 00:55 2
dr-xr-xr-x 3 nobody root 0 Jan 1 00:55 26
dr-xr-xr-x 3 root root 0 Jan 1 00:55 29
dr-xr-xr-x 3 root root 0 Jan 1 00:55 3
dr-xr-xr-x 3 nobody nobodygr 0 Jan 1 00:55 30
dr-xr-xr-x 3 root root 0 Jan 1 00:55 4
dr-xr-xr-x 3 root root 0 Jan 1 00:55 5
dr-xr-xr-x 3 root root 0 Jan 1 00:55 59
dr-xr-xr-x 3 root root 0 Jan 1 00:55 6
dr-xr-xr-x 3 root root 0 Jan 1 00:55 60
dr-xr-xr-x 3 root root 0 Jan 1 00:55 9
dr-xr-xr-x 3 root root 0 Jan 1 00:55 bus
-r--r--r-- 1 root root 0 Jan 1 00:55 cmdline
-r--r--r-- 1 root root 0 Jan 1 00:55 cpuinfo
-r--r--r-- 1 root root 0 Jan 1 00:55 devices
-r--r--r-- 1 root root 0 Jan 1 00:55 dma
dr-xr-xr-x 2 root root 0 Jan 1 00:55 driver
-r--r--r-- 1 root root 0 Jan 1 00:55 execdomains
-r--r--r-- 1 root root 0 Jan 1 00:55 filesystems
dr-xr-xr-x 2 root root 0 Jan 1 00:55 fs
-r--r--r-- 1 root root 0 Jan 1 00:55 interrupts
-r--r--r-- 1 root root 0 Jan 1 00:55 iomem
-r--r--r-- 1 root root 0 Jan 1 00:55 ioports
dr-xr-xr-x 50 root root 0 Jan 1 00:55 irq
-r-------- 1 root root 16781312 Jan 1 00:55 kcore
-r-------- 1 root root 0 Jan 1 00:55 kmsg
-r--r--r-- 1 root root 0 Jan 1 00:55 ksyms
-r--r--r-- 1 root root 0 Jan 1 00:55 loadavg
-r--r--r-- 1 root root 0 Jan 1 00:55 locks
-r--r--r-- 1 root root 0 Jan 1 00:55 meminfo
-r--r--r-- 1 root root 0 Jan 1 00:55 misc
-r--r--r-- 1 root root 0 Jan 1 00:55 modules
lrwxrwxrwx 1 root root 11 Jan 1 00:55 mounts -> self/mounts
-r--r--r-- 1 root root 0 Jan 1 00:55 mtd
dr-xr-xr-x 4 root root 0 Jan 1 00:55 net
-r--r--r-- 1 root root 0 Jan 1 00:55 partitions
-rw-r--r-- 1 root root 0 Jan 1 00:55 ppc_htab
lrwxrwxrwx 1 root root 64 Jan 1 00:01 self -> 161
-rw-r--r-- 1 root root 0 Jan 1 00:55 slabinfo
-r--r--r-- 1 root root 0 Jan 1 00:55 stat
-r--r--r-- 1 root root 0 Jan 1 00:55 swaps
dr-xr-xr-x 11 root root 0 Jan 1 00:55 sys
dr-xr-xr-x 2 root root 0 Jan 1 00:55 sysvipc
dr-xr-xr-x 4 root root 0 Jan 1 00:55 tty
-r--r--r-- 1 root root 0 Jan 1 00:55 uptime
-r--r--r-- 1 root root 0 Jan 1 00:55 version
/proc #
/proc # cat ioports
/proc #
Comme tu le vois ioports ne donne rien en informations. la suite dit ceci
/proc # cat cpuinfo
processor : 0
cpu : 8xx
clock : 50MHz
bus clock : 50MHz
revision : 0.0 (pvr 0050 0000)
bogomips : 49.76
/proc #
C'est un Powerpc: la suite dit
/proc # cat devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
10 misc
90 mtd
101 epld
108 ppp
128 ptm
136 pts
162 raw
254 pcmcia
Block devices:
31 mtdblock
/proc #
Le Powerpc est défini comme un périphérique? Dans ce cas je peux modifier et reconfigurer le μP a chaud? non?
Je plane à mille lieu avec ce systeme.
Help!!!!
/proc # cat modules
epld 1376 0 (unused)
/proc #
Ha voila notre driver epld
/proc # cat mtd
dev: size erasesize name
mtd0: 00800000 00010000 "Physically mapped flash"
mtd1: 00040000 00010000 "RedBoot"
mtd2: 000a0000 00010000 "unallocated space"
mtd3: 00300000 00010000 "JFFS2"
mtd4: 00020000 00010000 "nios.rbf"
mtd5: 00010000 00010000 "sdram.srec"
mtd6: 000b0000 00010000 "zImage"
mtd7: 00320000 00010000 "unallocated space"
mtd8: 00010000 00010000 "RedBoot config"
mtd9: 00010000 00002000 "FIS directory"
/proc #
Ca ,c'est la compact flash... JFFS2 et zImage
et pour iomem:
/proc # cat iomem
/proc #
Je n'ai rien