{"action":"closed","issue":{"url":"https://api.github.com/repos/MEN-Mikro-Elektronik/13MD05-90_old/issues/9","repository_url":"https://api.github.com/repos/MEN-Mikro-Elektronik/13MD05-90_old","labels_url":"https://api.github.com/repos/MEN-Mikro-Elektronik/13MD05-90_old/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/MEN-Mikro-Elektronik/13MD05-90_old/issues/9/comments","events_url":"https://api.github.com/repos/MEN-Mikro-Elektronik/13MD05-90_old/issues/9/events","html_url":"https://github.com/MEN-Mikro-Elektronik/13MD05-90_old/issues/9","id":336538177,"node_id":"MDU6SXNzdWUzMzY1MzgxNzc=","number":9,"title":"MAIN_PR004275 13md05-90_1.20_rc2 scan system does not work with F223","user":{"login":"michaelmiehling","id":23742250,"node_id":"MDQ6VXNlcjIzNzQyMjUw","avatar_url":"https://avatars0.githubusercontent.com/u/23742250?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelmiehling","html_url":"https://github.com/michaelmiehling","followers_url":"https://api.github.com/users/michaelmiehling/followers","following_url":"https://api.github.com/users/michaelmiehling/following{/other_user}","gists_url":"https://api.github.com/users/michaelmiehling/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelmiehling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelmiehling/subscriptions","organizations_url":"https://api.github.com/users/michaelmiehling/orgs","repos_url":"https://api.github.com/users/michaelmiehling/repos","events_url":"https://api.github.com/users/michaelmiehling/events{/privacy}","received_events_url":"https://api.github.com/users/michaelmiehling/received_events","type":"User","site_admin":false},"labels":[{"id":925540408,"node_id":"MDU6TGFiZWw5MjU1NDA0MDg=","url":"https://api.github.com/repos/MEN-Mikro-Elektronik/13MD05-90_old/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-28T09:13:39Z","updated_at":"2018-07-23T12:02:20Z","closed_at":"2018-07-23T12:02:20Z","author_association":"CONTRIBUTOR","body":"**Describe the bug**\r\nsystem scan does not work\t\r\n\r\nscan_system.sh from command line \r\n\r\n- leads to missing descriptor key:    DEVICE_SLOT_0 = U_INT32 0x0\r\n- creates wrong PCI bus path in system.dsc:\r\n\r\n**To Reproduce**\r\n\r\n```\r\nf223_1 {\r\n\r\n    # ------------------------------------------------------------------------\r\n    #        general parameters (don't modify)\r\n    # ------------------------------------------------------------------------\r\n    DESC_TYPE = U_INT32 0x2\r\n    HW_TYPE = STRING PCI\r\n    _WIZ_MODEL = STRING F223\r\n    _WIZ_BUSIF = STRING cpu,0\r\n\r\n    # ------------------------------------------------------------------------\r\n    #           PCI configuration\r\n    # ------------------------------------------------------------------------\r\n    PCI_BUS_PATH = BINARY 0x1e,14\r\n\r\n\r\nShould be:\r\n\r\n    PCI_BUS_PATH = BINARY 0x42,14\r\n\r\nLocation of F223 in lspci:\r\n\r\n0a:00.0 PCI bridge [0604]: Pericom Semiconductor PI7C9X442SL PCI Express Bridge Port [12d8:400a] (rev 02)\r\n0b:01.0 PCI bridge [0604]: Pericom Semiconductor PI7C9X442SL PCI Express Bridge Port [12d8:400a] (rev 02)\r\n0b:02.0 PCI bridge [0604]: Pericom Semiconductor PI7C9X442SL PCI Express Bridge Port [12d8:400a] (rev 02)\r\n0b:03.0 PCI bridge [0604]: Pericom Semiconductor PI7C9X442SL PCI Express Bridge Port [12d8:400a] (rev 02)\r\n0e:00.0 USB controller [0c03]: Pericom Semiconductor PI7C9X442SL USB OHCI Controller [12d8:400e] (rev 01)\r\n0e:00.1 USB controller [0c03]: Pericom Semiconductor PI7C9X442SL USB OHCI Controller [12d8:400e] (rev 01)\r\n0e:00.2 USB controller [0c03]: Pericom Semiconductor PI7C9X442SL USB EHCI Controller [12d8:400f] (rev 01)\r\nmen@debian:~/f223test$\r\n\r\n\r\nGraphical system scan in mdiswiz:\r\n\r\n- cannot display F223 although it's listed in system.dsc\r\n- creates error message when scan is done and project is opened:\r\n\r\n\"Cannot load f223_1:\r\nCan't connect to CPU: incompatible interface\r\nCannot load pi7c9_gpio_1:\r\nCould not find BBIS device f223_1\"\r\n\r\n- PCI bus path is also wrong:\r\n\r\nPCI_BUS_PATH = BINARY 0x1e,14\r\n\r\n\r\n---> Right configuration (tested & working) should be:\r\n\r\nf223_1 {\r\n\r\n    # ------------------------------------------------------------------------\r\n    #        general parameters (don't modify)\r\n    # ------------------------------------------------------------------------\r\n    DESC_TYPE = U_INT32 0x2\r\n    HW_TYPE = STRING PCI\r\n    _WIZ_MODEL = STRING F223\r\n    _WIZ_BUSIF = STRING CPU,1\r\n\r\n    # ------------------------------------------------------------------------\r\n    #           PCI configuration\r\n    # ------------------------------------------------------------------------\r\n    PCI_BUS_PATH = BINARY 0x41,0x0,0xe\r\n    SKIP_DEV_BRIDGE_CHECK = U_INT32 0x1\r\n    DEVICE_SLOT_0 = U_INT32 0x0\r\n\r\n    # ------------------------------------------------------------------------\r\n    #        debug levels (optional)\r\n    #        these keys have only effect on debug drivers\r\n    # ------------------------------------------------------------------------\r\n    DEBUG_LEVEL = U_INT32 0xc0008000\r\n    DEBUG_LEVEL_BK = U_INT32 0xc0008000\r\n    DEBUG_LEVEL_OSS = U_INT32 0xc0008000\r\n    DEBUG_LEVEL_DESC = U_INT32 0xc0008000\r\n}\r\npi7c9_gpio_1 {\r\n\r\n    # ------------------------------------------------------------------------\r\n    #        general parameters (don't modify)\r\n    # ------------------------------------------------------------------------\r\n    DESC_TYPE = U_INT32 0x1\r\n    HW_TYPE = STRING PI7C9_GPIO\r\n    _WIZ_MODEL = STRING F223_GPIO\r\n\r\n    # ------------------------------------------------------------------------\r\n    #        reference to base board\r\n    # ------------------------------------------------------------------------\r\n    BOARD_NAME = STRING f223_1\r\n    DEVICE_SLOT = U_INT32 0x0\r\n\r\n    # ------------------------------------------------------------------------\r\n    #        device parameters\r\n    # ------------------------------------------------------------------------\r\n    PCI_VENDOR_ID = U_INT32 0x12d8\r\n    PCI_DEVICE_ID = U_INT32 0x400a\r\n\r\n    # ------------------------------------------------------------------------\r\n    #        debug levels (optional)\r\n    #        these keys have only effect on debug drivers\r\n    # ------------------------------------------------------------------------\r\n    DEBUG_LEVEL = U_INT32 0xc0008000\r\n    DEBUG_LEVEL_MK = U_INT32 0xc0008000\r\n    DEBUG_LEVEL_OSS = U_INT32 0xc0008000\r\n    DEBUG_LEVEL_DESC = U_INT32 0xc0008000\r\n}\r\n# EOF\r\n\r\n```\r\n\r\n\r\n**Expected behavior**\r\n\r\n**Screenshots and logs**\r\n\r\n**Revision of 13MD05-90 and related driver or module where the bug was detected**\r\n 13MD05-90 1.20_rc2\r\n\r\n**Additional context**\r\n"}}
{"actor":{"display_login":"michaelmiehling"}}