• About MIPS64EL on loongson-3

    From Jiaxun Yang@21:1/5 to All on Mon Jan 29 10:40:01 2018
    Hi everyone,

    I tried to run Debian on my Loongson-3A2000, but the system freeze all
    the time. I discovered that the problem may caused by Loongson-3's
    LL/SC errata.

    So I made a patch for binutils[1]. It was expected to enter the
    mainline binutils on 2.30 but faild. So I wish Debian can apply this
    patch on binutils and enable -mfix-loongson3-llsc to deal with that
    problem. Although it may reduce performance on some other platforms,
    but at least it makes loongson-3 useable.

    [1] https://sourceware.org/ml/binutils/2018-01/msg00328.html

    Thanks


    --
    Jiaxun Yang
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEmAN5vv6/v0d+oE75wRGUkHP8D2cFAlpvWy8ACgkQwRGUkHP8 D2d4IA//RLj0HnqvvuvIuw5BfUIhAc6lG37gz22d7Wou7TPOOngVfOjj1oD95nEz kcc7mppKIkW17m5ILSJCmYH0mta326ZyOqiJLIVrjdI9y+4T0/+hxzq/rnda8+ev 10Kxa4a4pAsVaAp2VKMd6+iN8PkvGdHlwPSVXadw9FlckcvuYrccB1jO8pfcEyS/ e9HFWek7gwneuIsJRylDYjGGw5yVoYStqRGp2GQvfsZ1v+8Qj6Ns/pHZqvr20ibZ d2dmNy+v/KHXSr9XKXbr5U2yTZF0clw03M+cL6XC3gcJKF9m808YDFi54kF/Oj+0 UqiIGViv+07ELyYCYEKxMa+zXBeGmldE4LxVzEw2atuDmDFJirhNZx6CIiBJqxD8 dPHUwmkNU00Kkpv3k38xI6j8RU4piH4HKwvFI84ZHEQJGLnW9CgXUAO04KzuSP2I gQlnlmZto6solASBH1/rsxhz9UBcBfLVBP9vRoEDjOVMjTLX48GP5iHbZeIpIoPc wP/sS0xKIHYvBs974oYLlW1jEnw0iteniDCBhGLJwsEAqxVmo2VZDcqn0oLYpV8P tQYS4ukfcWTqjZswsuSL0LOkzB4k1hqKVfYZ52vi+7JaRhpWos/j/uFFRN/mtNL+ U3fvZxexCStxG1yEBZgFfXm3NVA69jQ43kcCc97fbHMmfIPISJ0=
    =iUR2
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From YunQiang Su@21:1/5 to Jiaxun Yang on Mon Jan 29 11:00:02 2018
    On Tue, Jan 30, 2018 at 1:34 AM, Jiaxun Yang <jiaxun.yang@flygoat.com> wrote:
    Hi everyone,

    I tried to run Debian on my Loongson-3A2000, but the system freeze all
    the time. I discovered that the problem may caused by Loongson-3's
    LL/SC errata.

    Loongson told me this problem before.


    So I made a patch for binutils[1]. It was expected to enter the
    mainline binutils on 2.30 but faild. So I wish Debian can apply this
    patch on binutils and enable -mfix-loongson3-llsc to deal with that
    problem. Although it may reduce performance on some other platforms,
    but at least it makes loongson-3 useable.

    [1] https://sourceware.org/ml/binutils/2018-01/msg00328.html

    Debian won't accept a patch that is not not upstreamed.
    Even your patch is upstreamed, we also need have some talk
    whether to set is as default.

    We are using 3A 1000 as Debian build daemon, they are buggy,
    while is not very unstable.
    And I am using an 3A 3000 as my laptop, it is some less stable than 1000,
    while acceptable.



    Thanks


    --
    Jiaxun Yang



    --
    YunQiang Su

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)