Ticket #184 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

wrong minors for mtd char devices

Reported by: johnbock Owned by: oliver
Priority: highest Milestone: freetz-1.1
Component: tools Version: freetz-1.0
Severity: blocker Keywords: mtd minor
Cc: Product ID: 7270
Firmware Version:

Description

The mtd char nodes are being generated with the wrong minor numbers. Currently, there are being generated with mtd0 0, mtd1 1 and …
After looking at the original firmware I discovered they should be generated as mtd0 0, mtd1 2, mtd2 4 and so on. mtdblock node minors are o.k.
I would have included a patch for the device tables in root/etc and tools, but I don't know exactly how the increment flag in MAKEDEV works.
This effects the latest release and labor versions. I don't know if the other models are also effected. Once fixed, this should be back ported to freetz-1.0

Change History

  Changed 2 years ago by oliver

  • owner set to oliver
  • status changed from new to accepted
  • milestone set to freetz-1.1

Thank you for reporting this error. I think it was my fault when I initially created this lists.

follow-up: ↓ 3   Changed 2 years ago by oliver

  • status changed from accepted to closed
  • resolution set to fixed

(In [2336]) * mtd char devices were created with wrong minors (fixes #184)

in reply to: ↑ 2   Changed 2 years ago by johnbock

Replying to oliver:

(In [2336]) * mtd char devices were created with wrong minors (fixes #184)

Doesn't this also effect the node naming? i.e. mtd0 0, mtd2 2, mtd4 4

  Changed 2 years ago by oliver

/dev # ls -l mtd*
crw-r-----    1 root     root      90,   0 Jan  1  2000 mtd0
crw-r-----    1 root     root      90,   2 Jan  1  2000 mtd1
crw-r-----    1 root     root      90,  20 Jan  1  2000 mtd10
crw-r-----    1 root     root      90,   4 Jan  1  2000 mtd2
crw-r-----    1 root     root      90,   6 Jan  1  2000 mtd3
crw-r-----    1 root     root      90,   8 Jan  1  2000 mtd4
crw-r-----    1 root     root      90,  10 Jan  1  2000 mtd5
crw-r-----    1 root     root      90,  12 Jan  1  2000 mtd6
crw-r-----    1 root     root      90,  14 Jan  1  2000 mtd7
crw-r-----    1 root     root      90,  16 Jan  1  2000 mtd8
crw-r-----    1 root     root      90,  18 Jan  1  2000 mtd9

No ?

  Changed 2 years ago by johnbock

Doch!! Sieht gut aus;)

Note: See TracTickets for help on using tickets.