Jump to content

Advent Vega kernel source code now available!


Guest PaulOBrien

Recommended Posts

Guest Scanno

Here we go ... again... Untested, not compiled... probably full ot errors, a patch against rel15r7 for shuttle... Ran out of time ... will (try to) compile it tomorrow...

Thanks eduardo..

Tried compiling it, but got some errors:


arch/arm/mach-tegra/usb_phy.c:671: error: array type has incomplete element type

arch/arm/mach-tegra/usb_phy.c:672: error: array index in non-array initializer

arch/arm/mach-tegra/usb_phy.c:672: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:673: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:673: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:674: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:674: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:675: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:675: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:676: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:676: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:677: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:677: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:678: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:678: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:679: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:679: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:680: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:680: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:681: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:681: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:683: error: array index in non-array initializer

arch/arm/mach-tegra/usb_phy.c:683: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:684: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:684: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:685: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:685: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:686: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:686: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:687: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:687: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:688: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:688: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:689: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:689: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:690: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:690: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:691: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:691: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:692: error: field name not in record or union initializer

arch/arm/mach-tegra/usb_phy.c:692: error: (near initialization for 'utmip_default')

arch/arm/mach-tegra/usb_phy.c:696: error: array type has incomplete element type

arch/arm/mach-tegra/usb_phy.c: In function 'utmip_pad_open':

arch/arm/mach-tegra/usb_phy.c:704: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:704: error: implicit declaration of function 'clk_get_sys'

arch/arm/mach-tegra/usb_phy.c:705: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:707: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:710: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:711: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:711: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:713: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:714: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:716: error: implicit declaration of function 'clk_put'

arch/arm/mach-tegra/usb_phy.c:716: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'utmip_pad_close':

arch/arm/mach-tegra/usb_phy.c:725: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:726: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:727: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'utmip_pad_power_on':

arch/arm/mach-tegra/usb_phy.c:733: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:735: error: implicit declaration of function 'clk_enable'

arch/arm/mach-tegra/usb_phy.c:735: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:750: error: implicit declaration of function 'clk_disable'

arch/arm/mach-tegra/usb_phy.c:750: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'utmip_pad_power_off':

arch/arm/mach-tegra/usb_phy.c:758: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:765: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:781: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'utmi_phy_clk_disable':

arch/arm/mach-tegra/usb_phy.c:813: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:816: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:828: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:838: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'utmi_phy_clk_enable':

arch/arm/mach-tegra/usb_phy.c:855: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:857: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:870: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'vbus_enable':

arch/arm/mach-tegra/usb_phy.c:886: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'vbus_disable':

arch/arm/mach-tegra/usb_phy.c:914: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_phy_xcvr_setup_value':

arch/arm/mach-tegra/usb_phy.c:999: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1002: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1003: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1015: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'utmi_phy_power_on':

arch/arm/mach-tegra/usb_phy.c:1024: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1026: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1033: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1046: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1047: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1052: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1057: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1067: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1068: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1073: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1074: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1078: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1078: error: 'TEGRA_USB_PHY_MODE_DEVICE' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:1078: error: (Each undeclared identifier is reported only once

arch/arm/mach-tegra/usb_phy.c:1078: error: for each function it appears in.)

arch/arm/mach-tegra/usb_phy.c:1086: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1095: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1096: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1105: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1109: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1109: error: 'TEGRA_USB_PHY_MODE_HOST' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:1117: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1125: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1149: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1164: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'utmi_phy_power_off':

arch/arm/mach-tegra/usb_phy.c:1345: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1351: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1351: error: 'TEGRA_USB_PHY_MODE_DEVICE' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:1358: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1364: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1381: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1386: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'utmi_phy_preresume':

arch/arm/mach-tegra/usb_phy.c:1442: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'utmi_phy_postresume':

arch/arm/mach-tegra/usb_phy.c:1456: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'uhsic_phy_postsuspend':

arch/arm/mach-tegra/usb_phy.c:1492: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1494: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1495: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'uhsic_phy_preresume':

arch/arm/mach-tegra/usb_phy.c:1502: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1504: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1505: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'uhsic_phy_postresume':

arch/arm/mach-tegra/usb_phy.c:1513: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: At top level:

arch/arm/mach-tegra/usb_phy.c:1525: warning: 'enum tegra_usb_phy_port_speed' declared inside parameter list

arch/arm/mach-tegra/usb_phy.c:1525: warning: its scope is only this definition or declaration, which is probably not what you want

arch/arm/mach-tegra/usb_phy.c:1525: error: parameter 2 ('port_speed') has incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'utmi_phy_restore_start':

arch/arm/mach-tegra/usb_phy.c:1529: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1533: error: 'TEGRA_USB_PHY_PORT_SPEED_LOW' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c: In function 'utmi_phy_restore_end':

arch/arm/mach-tegra/usb_phy.c:1595: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'ulpi_pinmux_bypass':

arch/arm/mach-tegra/usb_phy.c:1697: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: At top level:

arch/arm/mach-tegra/usb_phy.c:1710: warning: 'enum tegra_usb_phy_port_speed' declared inside parameter list

arch/arm/mach-tegra/usb_phy.c:1710: error: parameter 2 ('port_speed') has incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'ulpi_phy_restore_start':

arch/arm/mach-tegra/usb_phy.c:1714: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'ulpi_phy_restore_end':

arch/arm/mach-tegra/usb_phy.c:1729: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'ulpi_phy_power_on':

arch/arm/mach-tegra/usb_phy.c:1743: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1745: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1748: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1749: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1753: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1754: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1756: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1758: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1798: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1804: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'ulpi_phy_power_off':

arch/arm/mach-tegra/usb_phy.c:1820: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1825: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1829: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1834: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1838: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1862: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1863: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: At top level:

arch/arm/mach-tegra/usb_phy.c:1893: warning: 'enum tegra_usb_phy_port_speed' declared inside parameter list

arch/arm/mach-tegra/usb_phy.c:1893: error: parameter 2 ('port_speed') has incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'null_phy_restore_start':

arch/arm/mach-tegra/usb_phy.c:1895: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1897: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1898: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'null_phy_restore_end':

arch/arm/mach-tegra/usb_phy.c:1904: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1905: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1911: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1912: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1916: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1922: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1923: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1925: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1926: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'null_phy_power_on':

arch/arm/mach-tegra/usb_phy.c:1962: error: variable 'default_trimmer' has initializer but incomplete type

arch/arm/mach-tegra/usb_phy.c:1962: warning: excess elements in struct initializer

arch/arm/mach-tegra/usb_phy.c:1962: warning: (near initialization for 'default_trimmer')

arch/arm/mach-tegra/usb_phy.c:1962: warning: excess elements in struct initializer

arch/arm/mach-tegra/usb_phy.c:1962: warning: (near initialization for 'default_trimmer')

arch/arm/mach-tegra/usb_phy.c:1962: warning: excess elements in struct initializer

arch/arm/mach-tegra/usb_phy.c:1962: warning: (near initialization for 'default_trimmer')

arch/arm/mach-tegra/usb_phy.c:1962: warning: excess elements in struct initializer

arch/arm/mach-tegra/usb_phy.c:1962: warning: (near initialization for 'default_trimmer')

arch/arm/mach-tegra/usb_phy.c:1962: error: storage size of 'default_trimmer' isn't known

arch/arm/mach-tegra/usb_phy.c:1964: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1965: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1968: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1969: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1984: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1984: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2002: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2003: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2014: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2014: error: 'TEGRA_USB_PHY_MODE_HOST' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2037: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2038: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2066: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2066: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:1962: warning: unused variable 'default_trimmer'

arch/arm/mach-tegra/usb_phy.c: In function 'null_phy_power_off':

arch/arm/mach-tegra/usb_phy.c:2074: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2076: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2076: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2081: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2081: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'uhsic_phy_power_on':

arch/arm/mach-tegra/usb_phy.c:2129: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2130: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2132: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2133: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2155: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2156: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2157: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2161: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2180: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2184: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2185: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'uhsic_phy_power_off':

arch/arm/mach-tegra/usb_phy.c:2245: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2246: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2258: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2259: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2263: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2263: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'usb_phy_vbus_irq_thr':

arch/arm/mach-tegra/usb_phy.c:2277: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2277: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2278: error: implicit declaration of function 'regulator_enable'

arch/arm/mach-tegra/usb_phy.c:2278: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2279: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: At top level:

arch/arm/mach-tegra/usb_phy.c:2296: warning: 'enum tegra_usb_phy_type' declared inside parameter list

arch/arm/mach-tegra/usb_phy.c:2296: warning: 'enum tegra_usb_phy_mode' declared inside parameter list

arch/arm/mach-tegra/usb_phy.c:2295: error: parameter 4 ('phy_mode') has incomplete type

arch/arm/mach-tegra/usb_phy.c:2296: error: parameter 5 ('usb_phy_type') has incomplete type

arch/arm/mach-tegra/usb_phy.c:2294: error: conflicting types for 'tegra_usb_phy_open'

arch/arm/mach-tegra/include/mach/usb_phy.h:30: note: previous declaration of 'tegra_usb_phy_open' was here

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_open':

arch/arm/mach-tegra/usb_phy.c:2308: error: invalid application of 'sizeof' to incomplete type 'struct tegra_usb_phy'

arch/arm/mach-tegra/usb_phy.c:2312: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2313: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2314: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2315: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2316: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2317: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2318: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2319: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2320: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2321: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2322: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2324: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2325: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2325: error: 'TEGRA_USB_PHY_TYPE_LINK_ULPI' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2326: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2326: error: 'TEGRA_USB_PHY_TYPE_NULL_ULPI' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2331: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2335: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2336: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2338: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2341: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2343: error: implicit declaration of function 'clk_get_rate'

arch/arm/mach-tegra/usb_phy.c:2343: error: implicit declaration of function 'clk_get_parent'

arch/arm/mach-tegra/usb_phy.c:2343: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2344: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2344: error: 'TEGRA_USB_PHY_TYPE_HSIC' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2347: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2354: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2359: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2365: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2365: error: 'TEGRA_USB_PHY_TYPE_UTMIP' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2367: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2367: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2370: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2373: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2374: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2374: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2375: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2382: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2384: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2385: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2386: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2387: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2388: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2420: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2420: error: implicit declaration of function 'regulator_get'

arch/arm/mach-tegra/usb_phy.c:2421: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2422: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2424: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2460: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2460: error: 'TEGRA_USB_PHY_MODE_HOST' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2466: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2467: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: At top level:

arch/arm/mach-tegra/usb_phy.c:2473: error: conflicting types for 'tegra_usb_phy_power_on'

arch/arm/mach-tegra/include/mach/usb_phy.h:105: note: previous declaration of 'tegra_usb_phy_power_on' was here

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_power_on':

arch/arm/mach-tegra/usb_phy.c:2477: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'power_on'

arch/arm/mach-tegra/usb_phy.c:2477: error: 'power_on' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2477: error: expected expression before ']' token

arch/arm/mach-tegra/usb_phy.c:2484: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2487: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2488: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2488: error: 'TEGRA_USB_PHY_MODE_DEVICE' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2491: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2491: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2492: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2493: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2496: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2497: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2499: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: At top level:

arch/arm/mach-tegra/usb_phy.c:2503: error: conflicting types for 'tegra_usb_phy_power_off'

arch/arm/mach-tegra/include/mach/usb_phy.h:99: note: previous declaration of 'tegra_usb_phy_power_off' was here

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_power_off':

arch/arm/mach-tegra/usb_phy.c:2505: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'power_off'

arch/arm/mach-tegra/usb_phy.c:2505: error: 'power_off' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2505: error: expected expression before ']' token

arch/arm/mach-tegra/usb_phy.c:2512: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2515: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2516: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2516: error: 'TEGRA_USB_PHY_MODE_DEVICE' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2519: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2520: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2522: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2522: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2526: error: implicit declaration of function 'regulator_disable'

arch/arm/mach-tegra/usb_phy.c:2526: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2527: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2529: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_preresume':

arch/arm/mach-tegra/usb_phy.c:2534: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'preresume'

arch/arm/mach-tegra/usb_phy.c:2534: error: 'preresume' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2534: error: expected expression before ']' token

arch/arm/mach-tegra/usb_phy.c:2541: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2542: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_postsuspend':

arch/arm/mach-tegra/usb_phy.c:2548: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'postsuspend'

arch/arm/mach-tegra/usb_phy.c:2548: error: 'postsuspend' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2548: error: expected expression before ']' token

arch/arm/mach-tegra/usb_phy.c:2555: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2556: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_postresume':

arch/arm/mach-tegra/usb_phy.c:2561: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'postresume'

arch/arm/mach-tegra/usb_phy.c:2561: error: 'postresume' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2561: error: expected expression before ']' token

arch/arm/mach-tegra/usb_phy.c:2568: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2569: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_ehci_pre_reset':

arch/arm/mach-tegra/usb_phy.c:2574: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pre_reset'

arch/arm/mach-tegra/usb_phy.c:2574: error: 'pre_reset' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2574: error: expected expression before ']' token

arch/arm/mach-tegra/usb_phy.c:2581: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2582: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_ehci_post_reset':

arch/arm/mach-tegra/usb_phy.c:2587: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'post_reset'

arch/arm/mach-tegra/usb_phy.c:2587: error: 'post_reset' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2587: error: expected expression before ']' token

arch/arm/mach-tegra/usb_phy.c:2594: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2595: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: At top level:

arch/arm/mach-tegra/usb_phy.c:2599: warning: 'enum tegra_usb_phy_port_speed' declared inside parameter list

arch/arm/mach-tegra/usb_phy.c:2599: error: parameter 2 ('port_speed') has incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_ehci_phy_restore_start':

arch/arm/mach-tegra/usb_phy.c:2601: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'phy_restore_start'

arch/arm/mach-tegra/usb_phy.c:2601: error: 'phy_restore_start' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2601: error: expected expression before ']' token

arch/arm/mach-tegra/usb_phy.c:2608: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2609: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_ehci_phy_restore_end':

arch/arm/mach-tegra/usb_phy.c:2614: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'phy_restore_end'

arch/arm/mach-tegra/usb_phy.c:2614: error: 'phy_restore_end' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2614: error: expected expression before ']' token

arch/arm/mach-tegra/usb_phy.c:2621: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2622: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_clk_disable':

arch/arm/mach-tegra/usb_phy.c:2627: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2627: error: 'TEGRA_USB_PHY_TYPE_UTMIP' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_clk_enable':

arch/arm/mach-tegra/usb_phy.c:2633: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2633: error: 'TEGRA_USB_PHY_TYPE_UTMIP' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_close':

arch/arm/mach-tegra/usb_phy.c:2639: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2639: error: 'TEGRA_USB_PHY_TYPE_UTMIP' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2643: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2643: error: 'TEGRA_USB_PHY_TYPE_LINK_ULPI' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2643: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2644: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2645: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2645: error: 'TEGRA_USB_PHY_MODE_HOST' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2648: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2649: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2650: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2651: error: implicit declaration of function 'regulator_put'

arch/arm/mach-tegra/usb_phy.c:2651: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2652: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2653: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2654: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_bus_connect':

arch/arm/mach-tegra/usb_phy.c:2662: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2663: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2665: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2665: error: 'TEGRA_USB_PHY_TYPE_HSIC' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2695: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2696: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_bus_reset':

arch/arm/mach-tegra/usb_phy.c:2721: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2723: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2723: error: 'TEGRA_USB_PHY_TYPE_HSIC' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_bus_idle':

arch/arm/mach-tegra/usb_phy.c:2809: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2810: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2812: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2812: error: 'TEGRA_USB_PHY_TYPE_HSIC' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c:2846: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2847: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_is_device_connected':

arch/arm/mach-tegra/usb_phy.c:2864: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2866: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2866: error: 'TEGRA_USB_PHY_TYPE_HSIC' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_charger_detect':

arch/arm/mach-tegra/usb_phy.c:2885: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2888: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2888: error: 'TEGRA_USB_PHY_TYPE_UTMIP' undeclared (first use in this function)

arch/arm/mach-tegra/usb_phy.c: At top level:

arch/arm/mach-tegra/usb_phy.c:2926: error: conflicting types for 'tegra_usb_phy_init'

arch/arm/mach-tegra/include/mach/usb_phy.h:46: note: previous declaration of 'tegra_usb_phy_init' was here

arch/arm/mach-tegra/usb_phy.c: In function 'tegra_usb_phy_init':

arch/arm/mach-tegra/usb_phy.c:2931: error: increment of pointer to unknown structure

arch/arm/mach-tegra/usb_phy.c:2931: error: arithmetic on pointer to an incomplete type

arch/arm/mach-tegra/usb_phy.c:2932: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2932: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2933: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2933: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2934: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2934: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2935: error: dereferencing pointer to incomplete type

arch/arm/mach-tegra/usb_phy.c:2935: error: dereferencing pointer to incomplete type

make[1]: *** [arch/arm/mach-tegra/usb_phy.o] Error 1

make[1]: *** Waiting for unfinished jobs....

arch/arm/mach-tegra/tegra3_usb_phy.c:891: warning: 'usb_phy_power_down_pmc' defined but not used

Link to comment
Share on other sites

Guest brucelee666

Here we go ... again... Untested, not compiled... probably full ot errors, a patch against rel15r7 for shuttle... Ran out of time ... will (try to) compile it tomorrow...

Eduardo,

When I asked if you had time to make the changes I did not mean you had to go away and do it, it is very much appreciated and thanks.

Scanno,

The usb_phy errors seem to be that Eduardo has included the previous kernel version with his changes to the patch, the one in 15r7 is very different - not sure what changes Eduardo made to the previous file need to compare but looks like these either need to be made to newer file or we should be using the newer file due to the other usb changes Eduardo made.

edit - Thought I would try a compile with original usb_phy and got other errors - need to add "int cd_gpio_active_high;" to include/mach/sdhci.h.

Also these, need to add "#include <linux/regulator/consumer.h>" to board-shuttle.c to get rid of these:-


arch/arm/mach-tegra/board-shuttle.c: In function 'shuttle_3g_gps_poweron':

arch/arm/mach-tegra/board-shuttle.c:506: error: implicit declaration of function 'regulator_enable'

arch/arm/mach-tegra/board-shuttle.c: In function 'shuttle_3g_gps_poweroff':

arch/arm/mach-tegra/board-shuttle.c:526: error: implicit declaration of function 'regulator_disable'

arch/arm/mach-tegra/board-shuttle.c: In function 'shuttle_3g_gps_init':

arch/arm/mach-tegra/board-shuttle.c:540: error: implicit declaration of function 'regulator_get'

arch/arm/mach-tegra/board-shuttle.c:540: warning: assignment makes pointer from integer without a cast

arch/arm/mach-tegra/board-shuttle.c:547: warning: assignment makes pointer from integer without a cast

arch/arm/mach-tegra/board-shuttle.c:550: error: implicit declaration of function 'regulator_put'

arch/arm/mach-tegra/board-shuttle.c: In function 'shuttle_wlan_bt_init':

arch/arm/mach-tegra/board-shuttle.c:647: warning: assignment makes pointer from integer without a cast

arch/arm/mach-tegra/board-shuttle.c:654: warning: assignment makes pointer from integer without a cast

arch/arm/mach-tegra/board-shuttle.c:669: warning: assignment makes pointer from integer without a cast

make[1]: *** [arch/arm/mach-tegra/board-shuttle.o] Error 1

make: *** [arch/arm/mach-tegra] Error 2

edit2 - Okay using rel15r7 usb_phy.c file and making above couple of changes will get kernel to compile, it will usually reboot on android logo although it has got to android lock screen after a couple of reboots and adb has connected for a few seconds (lock screen is frozen) also no longer get the inital boot screen on boot straight to android logo boot screen.

Edited by brucelee666
Link to comment
Share on other sites

Guest brucelee666

Eduardo,

Trying to get log details, here is part of a dmesg (hopefully will get more) attached last_kmsg:-

edit - I will leave these logs here but just to say the issues seem to be caused by me not compiling a new ar6000 module against the new kernel base, now done that and have booted into new 15r7 kernel so will continue investigating to see if anything else crops up but with above changes and new ar6000 module can now atleast boot the 15r7 kernel with your patch.

last_kmsg.zip

dmesg15r7.zip

Edited by brucelee666
Link to comment
Share on other sites

Guest ejtagle

Eduardo,

Trying to get log details, here is part of a dmesg (hopefully will get more) attached last_kmsg:-

edit - I will leave these logs here but just to say the issues seem to be caused by me not compiling a new ar6000 module against the new kernel base, now done that and have booted into new 15r7 kernel so will continue investigating to see if anything else crops up but with above changes and new ar6000 module can now atleast boot the 15r7 kernel with your patch.

So, we are now at rel15r7 :) ...

Things to check:

-Bluetooth still works

-Wifi resumes after resume from LP1

-USB master/slave...

I think no other issues should be present, of course, everything should be checked .. Let's hope less bugs are present on this kernel version :)

BTW, you should use the usb_phy.c files of the rel15r7. It was a mistake on my part to include the older usb_phy.c from the previous versions. We should use the original rel15r7 version, and not a modified one. You did the right thing brucelee666 ;)

Edited by ejtagle
Link to comment
Share on other sites

Guest Chicos

Hi :) i don't know if i should post here but i was thinking of porting CM9 to vega so i was wondering if it's alright if i use your kernel guys and if i could get some tips how to do this as i've only built ICS for nexus S och gb for desire z and HD :)

Link to comment
Share on other sites

Guest ejtagle

Hi :) i don't know if i should post here but i was thinking of porting CM9 to vega so i was wondering if it's alright if i use your kernel guys and if i could get some tips how to do this as i've only built ICS for nexus S och gb for desire z and HD :)

I see no problems. Just the latest kernel and latest nvidia propietary libs ... You can probably use the shuttle ICS target as an start point for the CM9 device support

Link to comment
Share on other sites

Guest Scanno
Hi :) i don't know if i should post here but i was thinking of porting CM9 to vega so i was wondering if it's alright if i use your kernel guys and if i could get some tips how to do this as i've only built ICS for nexus S och gb for desire z and HD :)

You can use the kernel sources i have on github, they are up to date with the latest kernel i posted.

Regarding the target ejtagle mentioned... it will need adjusting for cm9. You can find the latest vegacream target on my github. Regarding the kernel.. use the ramdisk from the latest kernel i posted. Also remember that the vega has limited memory and you should use squashfs.

Link to comment
Share on other sites

Guest brucelee666

So, we are now at rel15r7 :) ...

Things to check:

-Bluetooth still works

-Wifi resumes after resume from LP1

-USB master/slave...

I think no other issues should be present, of course, everything should be checked .. Let's hope less bugs are present on this kernel version :)

BTW, you should use the usb_phy.c files of the rel15r7. It was a mistake on my part to include the older usb_phy.c from the previous versions. We should use the original rel15r7 version, and not a modified one. You did the right thing brucelee666 ;)

Eduardo,

Yes good news rel15r7 is now working, just checking things now - everything seems to work as before.

Bluetooth switches on searches for devices.

Camera works.

USB host/slave - connected and used mouse worked fine

Wifi - connects fine also reconnects after lp1 suspend/resume so reconnects ok after short and and not so short sleep (need to test multiple hours sleep but seems same as before).

SD-card contents viewable and move to sd card works from settings.

ADB connects to eclipse/pc as expected and mtp connects and contents of sd card shown.

Will carry on testing to see if anything crops up but think those are the main things just need to get sound working now and should be good.

Link to comment
Share on other sites

Guest grnunn

Will carry on testing to see if anything crops up but think those are the main things just need to get sound working now and should be good.

Did anyone try my suggestion from post #2051 to fix the new audio driver?

Link to comment
Share on other sites

Guest Scanno

I have released VegaCream RC1 with the 3.1.10 kernel. It seems that the new ts driver with the shuttle_clocks without the i2c additions (the latest additions are the USB entries) is pretty stable... I have had my tablet on during almost 18 hours without reboot and lockups. The tablet was in suspend during the night for at least 6 hours.... @work have been using the browser, tapatalk, ever note, lotus notes traveler and other apps.. without lockups and reboots.

Edited by Scanno
Link to comment
Share on other sites

Guest JHAres

I have released VegaCream RC1 with the 3.1.10 kernel. It seems that the new ts driver with the shuttle_clocks without the i2c additions (the latest additions are the USB entries) is pretty stable... I have had my tablet on during almost 18 hours without reboot and lockups. The tablet was in suspend during the night for at least 6 hours.... @work have been using the browser, tapatalk, ever note, lotus notes traveler and other apps.. without lockups and reboots.

Going for it...!!!! Outstanding work from the group, as usual...!!!

Thanks and regards,

Javier.

Link to comment
Share on other sites

Guest Scanno

I have also compiled rel-15r7. It is working. Will do some testing this weekend.

I also had to recompile the ar6000 driver.

Edit:

I can say that HDMI is working...

I also compiled the 15r7 with the old audio drivers and also got them working (needed one small adjustment)

Edited by Scanno
Link to comment
Share on other sites

Guest JHAres

I have also compiled rel-15r7. It is working. Will do some testing this weekend.

I also had to recompile the ar6000 driver.

Edit:

I can say that HDMI is working...

I also compiled the 15r7 with the old audio drivers and also got them working (needed one small adjustment)

Hi Scanno,

Still getting some random freezes with RC1....How can I help ?

Regards,

Javier

Link to comment
Share on other sites

Guest Scanno

Hi Scanno,

Still getting some random freezes with RC1....How can I help ?

Regards,

Javier

Can you handle some adb ?

You could try the 15r7 kernel that I compiled. I put in the old audio drivers, so it should be fully functional... you will need to flash the boot.img and a modified lib.sfs file (ar6000 needed a recompile).

Link to comment
Share on other sites

Guest ejtagle

Random note: I've been looking at the JellyBean release. Do not waste your time trying to use wingray as a base. The only updated lunch target is device/asus/grouper. You should stick to it. And, as a matter of fact, our lunch target for ICS is nearly working. You need to add the power and recovery subdirs of the grouper lunch, and slight adjustments here and there ;) - I don't believe JB will bring new issues to the ROM :D - Most changes are related to framework, not hardware support

Link to comment
Share on other sites

Guest Scanno
Random note: I've been looking at the JellyBean release. Do not waste your time trying to use wingray as a base. The only updated lunch target is device/asus/grouper. You should stick to it. And, as a matter of fact, our lunch target for ICS is nearly working. You need to add the power and recovery subdirs of the grouper lunch, and slight adjustments here and there ;) - I don't believe JB will bring new issues to the ROM :D - Most changes are related to framework, not hardware support

What about the modified nets, wpa_supplicant8 and hardware_legacy? I guess we need them from ics. Well you made those changes so I guess you an I've the answer. I must say that I have made a lot of changes (changing LOGE and LOGI to ALOGE an ALOGI) in the code to make it compile.

Also some small changes to o device.mk. I think I changed the copying of the framework permissions because the framework path has changed

Edited by Scanno
Link to comment
Share on other sites

Guest JHAres

Can you handle some adb ?

You could try the 15r7 kernel that I compiled. I put in the old audio drivers, so it should be fully functional... you will need to flash the boot.img and a modified lib.sfs file (ar6000 needed a recompile).

Hi Scanno,

Sure, only give me the files and some basic guide... I'm in IT but this is not my field... ;-)

I'll be more than glad to help. Post PM if you orefer that,

Regards,

Javier.

Link to comment
Share on other sites

Guest ejtagle

What about the modified nets, wpa_supplicant8 and hardware_legacy? I guess we need them from ics. Well you made those changes so I guess you an I've the answer. I must say that I have made a lot of changes (changing LOGE and LOGI to ALOGE an ALOGI) in the code to make it compile.

Also some small changes to o device.mk. I think I changed the copying of the framework permissions because the framework path has changed

Yes, netd changes have to be ported (otherwise, hostapd won'r work, but wifi will, wpa_supplicant8... JB is using the same version as ICS ;) ... Also must be modified, otherwise wifi does not work... wifi.c hw legacy also is required for hostap, otherwise, no hostapd support... But wifi will work. The remaining changes related to audio policy, should not be needed. We should not be using that component, we should be doing exactly the same thing as asus/grouper does ... I will try to post an updated lunch target (i first will have to upgrade to a 64bit compliant linux distro... ;) )

Regards,

Eduardo

Link to comment
Share on other sites

Guest Scanno

Yes, netd changes have to be ported (otherwise, hostapd won'r work, but wifi will, wpa_supplicant8... JB is using the same version as ICS ;) ... Also must be modified, otherwise wifi does not work... wifi.c hw legacy also is required for hostap, otherwise, no hostapd support... But wifi will work. The remaining changes related to audio policy, should not be needed. We should not be using that component, we should be doing exactly the same thing as asus/grouper does ... I will try to post an updated lunch target (i first will have to upgrade to a 64bit compliant linux distro... ;) )

Regards,

Eduardo

I have ported all the changes... compiling....

- netd

- wpa_supplicant8

- hardware_legacy

- atheros-supplicant lib

Let's see if it compiles to the end.

EDIT:

I put the changes i have made to the target on my github under the jb branche...

EDIT2:

Get the following error

driver_cmd_wext.c:352:33: error: 'WPA_EVENT_DRIVER_STATE' undeclared (first use in this function)

any quick idea?

EDIT3:

Never mind... forgot something

Edited by Scanno
Link to comment
Share on other sites

Guest richardmlea

Hi scanno, Ed, bruce, et al.

I am reporting this here because I'm sure it is related to the new kernel or touchscreen driver.

I have been testing RC1 and it was working OK, random reboots ect. I restored all my apps last night and used it for a few hours. The battery was at 2-3% when I finished with it and I left it charging on the dock. Today, when I tried to boot I just get the android logo. After flashing another rom (moddedstock) the touchscreen was dead (99 firmware) and required re flashing using the second factory test rom and valid firmware files.

I have attached the logcat of the stale boot.

Does this appear to be bad file system error/nand? The motherboard shows no bad blocks when I use "dmseg (my pc keyboard has no pipe) grep bad" command, is this reliable or is there a better way to scan the memory for bad blocks?

I will reflash RC1 now and run for a few hours without restoring any apps to see if it happens again.

logcat.txt

Edited by richardmlea
Link to comment
Share on other sites

Guest Daedric1383

Hi scanno, Ed, bruce, et al.

I am reporting this here because I'm sure it is related to the new kernel or touchscreen driver.

I have been testing RC1 and it was working OK, random reboots ect. I restored all my apps last night and used it for a few hours. The battery was at 2-3% when I finished with it and I left it charging on the dock. Today, when I tried to boot I just get the android logo. After flashing another rom (moddedstock) the touchscreen was dead (99 firmware) and required re flashing using the second factory test rom and valid firmware files.

I have attached the logcat of the stale boot.

Does this appear to be bad file system error/nand? The motherboard shows no bad blocks when I use "dmseg (my pc keyboard has no pipe) grep bad" command, is this reliable or is there a better way to scan the memory for bad blocks?

I will reflash RC1 now and run for a few hours without restoring any apps to see if it happens again.

Dmesg does not show bad sectors if you nvflash. Erasing and creating partitions will erase bad sectors info. Try to flash from CWM, format /system /data and /cache and flash from CWM.

@Scanno, here's something new, still on RC1:

Vega charging all night, while being ON. Wifi was on and working normaly. I came to it now, about 18h later, and Wifi ain't working. Logcat seems pretty normal, except for several F/NetworkStats errors, and W/NetworkManagementsSocketTagger: setKernelCountSet(1000, 0) failed with errno -2

Dmesg shows nothing out of ordinary.

https://www.dropbox.com/s/bhsmgpdw3mrlbay/dmesg.log

https://www.dropbox.com/s/sglhd6qyr6a1sfj/logcat.log

@ejtagle, is it possible to prevent USBs from powering off while on standby ?

Edited by Daedric1383
Link to comment
Share on other sites

Guest richardmlea

Dmesg does not show bad sectors if you nvflash. Erasing and creating partitions will erase bad sectors info. Try to flash from CWM, format /system /data and /cache and flash from CWM.

I realize this and I don't use NVflash with vegacream normally as my current motherboard behaves like it has bad nand but grep bad never finds anything. Even after running a stable rom for several days.

Before the above flash and subsequent problem I flashed moddedstock with NVflash, boot to recovery, wipe everything twice for luck, install vegacream zip and ran for about 6 hours. It was only after restoring all my apps and rebooting that the tablet/rom falls down.

I should also say that I have seen similar effects (except the touchscreen failure) on other roms where I have restored lots of apps (90+).

I suspect I do have bad nand blocks but the are towards the end of the partition so the are not causing a problem until I start to fill it up.

Link to comment
Share on other sites

Guest brucelee666

Yes, netd changes have to be ported (otherwise, hostapd won'r work, but wifi will, wpa_supplicant8... JB is using the same version as ICS ;) ... Also must be modified, otherwise wifi does not work... wifi.c hw legacy also is required for hostap, otherwise, no hostapd support... But wifi will work. The remaining changes related to audio policy, should not be needed. We should not be using that component, we should be doing exactly the same thing as asus/grouper does ... I will try to post an updated lunch target (i first will have to upgrade to a 64bit compliant linux distro... ;) )

Regards,

Eduardo

Scanno / Eduardo,

As jb is being discussed just to say I have compiled it and am about to see if I can get it to boot, as well as the log changes mentioned from loge to aloge etc, also changing frameworks/base/build to frameworks/native/build at the bottom of device.mk. amending the correct location for etc/permission in device.mk there are a few others to get the ICS shuttle device to compile.

The ics patch for wpa_supplicant and wifi libs will compile but the include wireless_copy.h is now linux_wext.h also some of the files these replace have been updated in jb compared to ics.

Also you need to remove libhuaweigeneric-ril dir or modify the audiochannel.c code as the audiotrack.h code has changed which means this file needs modified, removing dir and entry in device.mk gets round this.

Also in overlay/frameworks/base/core/res/res/values/config.xml remove the "config_networklocationprovider" and "config_geocodeprovider" as they are no longer used.

Also in overlay/packages/apps/launcher2/res/values-sw600dp remove "external_drop_icon_rect_radius", "smallScreenExtraSpacing", "allAppsSmall*Landscape & Portrait"

Plus additions changes to the boot.img, a couple of extra files and changes to init.rc as well as new init and adbd files.

Noticed the power/recoveryui in grouper device but not seen these in either the nexus7 or xoom roms I have viewed so not sure they are required it will compile without them.

Edited by brucelee666
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.