• Is the sh7785lcr kernel still useful?

    From Ben Hutchings@21:1/5 to All on Sat Jul 20 00:40:02 2024
    XPost: linux.debian.ports.superh

    Hello Super-H porters,

    In revieweing Debian's kernel configuration for sh4, I realised that
    the sh7785lcr board file not only has a small kernel partition but has
    no initramfs partition.

    Some time ago the compressed kernel image for sh7785lcr became larger
    than its kernel partition.  This was caught by a build-time check. In
    version 6.3.2-1~exp1 I attempted to fix this by modularising some
    drivers, on the assumption that an initramfs would be used (as is
    normal for Debian packaged kernels). But it seems like this won't work
    - any initramfs would have to be appended to the kernel image, so it
    would still be too large for the kernel partition.

    **If this kernel flavour is no longer usable and no fix is proposed, I
    intend to remove it.**

    Before I do that:

    - Does anyone still care about this board?
    - Does anyone have it working with a recent (6.3 or later) Debian
    kernel package, and if so how?

    Ben.

    --
    Ben Hutchings
    When in doubt, use brute force. - Ken Thompson


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmaa5H4ACgkQ57/I7JWG EQnPOhAAh9Ewo4m2R3H5zqb9Dgogvefi4KYwZ1GcEZ5VPRDwD7SeEFMQt562QBex 0ruDERqEwwn49b3036E2gXu0Mv0BuEMYvfQGDeqR8pLW1kN/Ssg8F7BbjB2hItxn iiUEbLBVueukfphl5wVYT8Tf5zeLhA5HpjbjWydBe+rjtdsvZdpztzN1UGj+bp7s GKIJh0pPbNdZKdVfvJ0EhVlGkjkNjLFfKHaNHaB75k9ydlmUNH1lNV5+txUR6Cdd 6y56Fff+0ktpYl38PQwzuyrxgZbcuiRJGp25nCI1S90a8gH9zPDXkUb6SoF7Bduc 9EcIdSM1CEXrd4FULMxQRw4XbZah1YKTmuPR6a5AUfEzZyOMC8ufgZ/idvbaQF33 o2WjwROpQMvnCfNbiclbBkfPAfHdRHDoAwWxntmHLf9xUUGgjUQCRabB+vr7DapT ygl3DBE1n2f4w7qYFKXOl59DsmzDuwBx38J6IBbiVD/9x6Qpv2VZDjTBMqx8Xzpi 3wng7wn9Z8F21PDiPtsBLym8xxdv1JxKu1Gl/nyaP1pbGbQh84B59zwOqKkeOZu0 IA1BHo/xU6WOWeFZCvMf6z/tuf7H4diAR/lm7W/Mh9EMvOPBmak/EPNvxqLZPra/ 2YKLbwuF/UmOamE/WXOBbZdLGng+i5LtgWG8i+Mfxh+0xz4G1wU=
    =ueIC
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Ben Hutchings on Sat Jul 20 21:50:01 2024
    XPost: linux.debian.ports.superh

    Hi Ben,

    On Sat, 2024-07-20 at 00:11 +0200, Ben Hutchings wrote:
    In revieweing Debian's kernel configuration for sh4, I realised that
    the sh7785lcr board file not only has a small kernel partition but has
    no initramfs partition.

    OK.

    Some time ago the compressed kernel image for sh7785lcr became larger
    than its kernel partition.  This was caught by a build-time check. In version 6.3.2-1~exp1 I attempted to fix this by modularising some
    drivers, on the assumption that an initramfs would be used (as is
    normal for Debian packaged kernels). But it seems like this won't work
    - any initramfs would have to be appended to the kernel image, so it
    would still be too large for the kernel partition.

    **If this kernel flavour is no longer usable and no fix is proposed, I
    intend to remove it.**

    Before I do that:

    - Does anyone still care about this board?

    Yes, it's my primary development board, I have multiple of these boards.

    - Does anyone have it working with a recent (6.3 or later) Debian
    kernel package, and if so how?

    I am currently running a kernel built from git upstream, but I would love
    to be able to boot a Debian kernel again. I have no clue how to reduce
    the kernel image size at this point though.

    I am currently not using an initrd with my custom kernel.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ben Hutchings@21:1/5 to John Paul Adrian Glaubitz on Sun Jul 21 15:20:01 2024
    XPost: linux.debian.ports.superh

    On Sat, 2024-07-20 at 21:48 +0200, John Paul Adrian Glaubitz wrote:
    [...]
    - Does anyone have it working with a recent (6.3 or later) Debian
    kernel package, and if so how?

    I am currently running a kernel built from git upstream, but I would love
    to be able to boot a Debian kernel again. I have no clue how to reduce
    the kernel image size at this point though.

    I am currently not using an initrd with my custom kernel.

    I made some config changes that bring the size back under the limit: <https://salsa.debian.org/kernel-team/linux/-/merge_requests/1133>.

    Can you test that this produces a working kernel?

    Ben.

    --
    Ben Hutchings
    One of the nice things about standards is that
    there are so many of them.


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmadCjQACgkQ57/I7JWG EQkpew/+PH3pyQLjs/t8BxxDiktSyPc+G5vfChsk42H0cu1Vrst3BpZVGcPZfMXz p6f8aD7oTZxtVq7EGMeqWp6vdzqCISPHA1spG1hHtkIjD4yNMb9/cluHjz8+D5Td YwdUQ7r+kaPmMV02BRn7uoY6cVmY1nZU60ml+Y318xiwkOBIP5nqqCWBr5j4zXnv la3gZLe1dj9086CsxRC7ZzFOa+H3hwLfz/OGP+0CTgzKn8WeMh+MdW/319EkP9WM 1aotjbD8wiTwKJOjXwiV/tDm298j26ht2zlU1U+lS9bWy7HOBA492WcKLOalWHMS wzPBIT730gpGEb2PfpS6Uz2GucWyq1paF6o/3rOm7Fs7xssWsgRBUIG+GVfh8bJM n7lZ5DAb9WPwj3BPJqoP49PfmmtbqTIPwHK/HCxQcxEGqtR5BqcRhxJtm9yla7ZK 7U7tBRlVX8Gk9PcMvk1CNK/4asNkeytjc/GMVyDR/4e0GcGMk9aoDNDVgeQGW6oE kLXzpYReOCPRSKxT59E3QCdYHFUtwirDhypqXfeoMSdPM1IEStD2AgYHqWKq++FX QfPcBSyznJZqXk1rx8YS/ZyL4X5+Cy7W4Hw5qbR9CmFQnXTXrVGh77X8I6jfU/G4 j+PyGDYQ8nerNxj54UepEU//K2EvrpAlEFZ2dIi1JZj1s20Anbo=
    =HMak
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Ben Hutchings on Tue Jul 23 15:00:01 2024
    XPost: linux.debian.ports.superh

    Hi Ben,

    On Sun, 2024-07-21 at 15:16 +0200, Ben Hutchings wrote:
    On Sat, 2024-07-20 at 21:48 +0200, John Paul Adrian Glaubitz wrote:
    [...]
    - Does anyone have it working with a recent (6.3 or later) Debian
    kernel package, and if so how?

    I am currently running a kernel built from git upstream, but I would love to be able to boot a Debian kernel again. I have no clue how to reduce
    the kernel image size at this point though.

    I am currently not using an initrd with my custom kernel.

    I made some config changes that bring the size back under the limit: <https://salsa.debian.org/kernel-team/linux/-/merge_requests/1133>.

    Can you test that this produces a working kernel?

    I'll give it a try next week as I'm currently not at home and unable
    to access the board for testing. While I can reach the board via SSH,
    I don't have any kind of remote management.

    Thanks,
    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Ben Hutchings on Tue Sep 10 21:30:02 2024
    XPost: linux.debian.ports.superh

    On Tue, 2024-09-10 at 21:16 +0200, Ben Hutchings wrote:
    I'll give it a try next week as I'm currently not at home and unable
    to access the board for testing. While I can reach the board via SSH,
    I don't have any kind of remote management.

    Are you able to test now?

    Yes, I can give it a try tomorrow. Can I just apply the changes from the
    branch on top of the current kernel package and then just build the package with "dpkg-buildpackage -B" or is there anything else I need to know?

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ben Hutchings@21:1/5 to John Paul Adrian Glaubitz on Tue Sep 10 21:20:02 2024
    XPost: linux.debian.ports.superh

    On Tue, 2024-07-23 at 14:57 +0200, John Paul Adrian Glaubitz wrote:
    Hi Ben,

    On Sun, 2024-07-21 at 15:16 +0200, Ben Hutchings wrote:
    On Sat, 2024-07-20 at 21:48 +0200, John Paul Adrian Glaubitz wrote:
    [...]
    - Does anyone have it working with a recent (6.3 or later) Debian
    kernel package, and if so how?

    I am currently running a kernel built from git upstream, but I would love to be able to boot a Debian kernel again. I have no clue how to reduce the kernel image size at this point though.

    I am currently not using an initrd with my custom kernel.

    I made some config changes that bring the size back under the limit: <https://salsa.debian.org/kernel-team/linux/-/merge_requests/1133>.

    Can you test that this produces a working kernel?

    I'll give it a try next week as I'm currently not at home and unable
    to access the board for testing. While I can reach the board via SSH,
    I don't have any kind of remote management.

    Are you able to test now?

    Ben.

    --
    Ben Hutchings
    It is easier to write an incorrect program
    than to understand a correct one.


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmbgmx0ACgkQ57/I7JWG EQkLug/7B67658wJBAyfqLh/4caJXr1EMDbAqRP/06y9d8s8kgZRDEoPhk/cj/nc hffXKVnw4b/ZaAaVXejvpR6Ju62NUEc9ugYBqOt8ew8bTfjzXMxVYVSRazYHhctJ 1Yf8PzHayLPtj69MkEjdSJBUbm55vuZBvAwJOmAxZl5u/OCUInbwUs7CjS+zLXfO KTrqsvQfVxcgZeeVZ/uHfrLjWAgCh40RQ4Xl/4CFdwItIzxi9+UJm9kVMkef21SM UkzNd+vaItjZtJAfyqsI46F7KvY+CfewLgX0cW4N7ouYaLHlfquZhS5/pgeDTEW4 98sVY4lthXokzy/hbG9manXzuOry6yxEHJ2KuifyZ5gjPBSwmvbbXT06gn6ty1bO uInkLfIviHVxvbw2aihRngP98S318ZCHmq0qYbz1KdaMoMHogiKJnQJmuYqFZ8bA uMuXVZX/cS3YrpiI4/DRqZUM2m3I4uP0WF6easXbhlABQDA1mmsp8e+1GqX4kyOA cGVbufrvJHAzeeF4ZOUXTHH10JNfA7+9W4yoWGDpn38zQA3YU7qeY1th6Lkk6H5k 0MD029/s75CTbYOsl9rkr6IJwGTyxbMynMWP2CjYWMUboTieiX0u9aJTfiAOcVPT 0vd28fQXzEYixTQnu/lHhe0JHuJkm5dAeQx6tTDbj34sYMcO2KA=
    =EZBB
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ben Hutchings@21:1/5 to John Paul Adrian Glaubitz on Tue Sep 10 21:50:01 2024
    XPost: linux.debian.ports.superh

    On Tue, 2024-09-10 at 21:28 +0200, John Paul Adrian Glaubitz wrote:
    On Tue, 2024-09-10 at 21:16 +0200, Ben Hutchings wrote:
    I'll give it a try next week as I'm currently not at home and unable
    to access the board for testing. While I can reach the board via SSH,
    I don't have any kind of remote management.

    Are you able to test now?

    Yes, I can give it a try tomorrow. Can I just apply the changes from the branch on top of the current kernel package and then just build the package with "dpkg-buildpackage -B" or is there anything else I need to know?

    A few things (that you may know already):

    - You can speed this up by deleting the other sh4 flavour definition in
    debian/config/sh4/defines.toml.
    - Run "debian/rules debian/control-real" before building (and after
    deleting the other flavour).
    - If you are cross building, use the "cross" build-profile.
    - You can skip building user-space packages by using the
    "pkg.linux.notools" build profile. (Without that, cross-build-
    dependencies may often be unsatisfiable due to version skew.)

    Ben.

    --
    Ben Hutchings
    It is easier to write an incorrect program
    than to understand a correct one.


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmbgoVsACgkQ57/I7JWG EQkC2RAAyEDYvqvq2iYJ9Z4LtIrt0fuC9+Im9RxJ2xhWswZ2gXmsgmNcacLaGPm9 xlLu4StUUWuFrLI5zUyne8BjaIIbVomzYKDK0rE6UoiwmYqCdharboUDctmPxu+r P73ifVMSLjpndSAI/kffwXwhapD3KdWyfO+x58gXtNH/KPrlOOSSV4lcRwVbSgTv bkL+axEE+3oBDqFsBMPsPlf6z7FM19tzW7ZvASijVkTaK+qOK9tDKqtaiHBzb9sM 2jxemwsERm+QaeBzIaSl/Cqs4DseWMXp1ETLVbJH28gHXfMJtXqmDVlBjSkaXLt4 VXGcLjlAnSNCEL4qh6MrZCQxyzQksFrNr2soqS6ddj7UL3SnGFm0xy075sDwHoTP hqhCjh3+9Mdwr3YlokdhrtIEbD6+27ghoEtBIQViV24ZA+V9a2P93doaVsyuik3S 6fM6Lx5PB70MU0m4o8pRMDp82BUVTlYDJOJRnZ5ujGhqI11ritBFGEWQWGHZRvhc MNcezS/uN9D4pSGoIEkiZO8RNqr4/3gfu3NcNnOSqPOidj8MIZbMoeeLVxIGVXl7 mEKNMNSPvwt3Yk9QAFvfVrgV8vy44p4LE+FOlnooB1XC7PiddVdjHuZR2tmnzVNF 9dJJaBs2dOfs+Slxyi1xzgypGkcMWhMzP7VyBz+5z807XwgNJ/M=
    =dIF8
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Ben Hutchings on Wed Sep 11 12:30:01 2024
    XPost: linux.debian.ports.superh

    On Tue, 2024-09-10 at 21:43 +0200, Ben Hutchings wrote:
    Yes, I can give it a try tomorrow. Can I just apply the changes from the branch on top of the current kernel package and then just build the package with "dpkg-buildpackage -B" or is there anything else I need to know?

    A few things (that you may know already):

    - You can speed this up by deleting the other sh4 flavour definition in
    debian/config/sh4/defines.toml.
    - Run "debian/rules debian/control-real" before building (and after
    deleting the other flavour).
    - If you are cross building, use the "cross" build-profile.
    - You can skip building user-space packages by using the
    "pkg.linux.notools" build profile. (Without that, cross-build-
    dependencies may often be unsatisfiable due to version skew.)

    OK, thanks a lot, this is very useful to know.

    But just to clarify, can I just apply this to the current latest Debian package, run debian/rules debian/control-real and build the package
    normally?

    Sorry, if that's too obvious, I just want to avoid producing noise.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ben Hutchings@21:1/5 to John Paul Adrian Glaubitz on Wed Sep 11 17:00:01 2024
    XPost: linux.debian.ports.superh

    On Wed, 2024-09-11 at 12:24 +0200, John Paul Adrian Glaubitz wrote:
    On Tue, 2024-09-10 at 21:43 +0200, Ben Hutchings wrote:
    Yes, I can give it a try tomorrow. Can I just apply the changes from the branch on top of the current kernel package and then just build the package
    with "dpkg-buildpackage -B" or is there anything else I need to know?

    A few things (that you may know already):

    - You can speed this up by deleting the other sh4 flavour definition in
    debian/config/sh4/defines.toml.
    - Run "debian/rules debian/control-real" before building (and after
    deleting the other flavour).
    - If you are cross building, use the "cross" build-profile.
    - You can skip building user-space packages by using the
    "pkg.linux.notools" build profile. (Without that, cross-build-
    dependencies may often be unsatisfiable due to version skew.)

    OK, thanks a lot, this is very useful to know.

    But just to clarify, can I just apply this to the current latest Debian package, run debian/rules debian/control-real and build the package
    normally?

    Sorry, if that's too obvious, I just want to avoid producing noise.

    You can apply it to the latest version in experimental, yes.

    Ben.

    --
    Ben Hutchings
    If more than one person is responsible for a bug, no one is at fault.


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmbhr3wACgkQ57/I7JWG EQmhNg//eAOT1oNIrd+2NjBDqDFgU5PM8jWNJon5kH1t+T9QZIjRqNqToKQAbYYv MqWmfd6IdW9ktdl8phscbdoEgiPk4cCPHVTM6ucbnftqym+SqkT7TqTKitP+J3GU BZXVEmYHMM4DfvnrQ9xtLSwZSajYroBtmG/UsDHWFg997B+F7S1fjUUT5sc4UFwt uXCR85Ecq4gtKU17zHB/BdKyaJS8rrCV5a/8ebUE28JTh443PwIu2dSVUWZIGcZJ l6GTzCCRRjHkv2VIhmMRGFJphmfrWPGs6PzzMX1sPm0ZRdPG+u2z0QFOxbRdPJf3 Hx7jIVaZ33TR6HSmvn0WB42MMK3sCE2J74l5MPdI94xaZIrC737+rBDY1KoJ7mo1 bYJCZ04nrg6DEADH3ouEcIpNGhrAsv0LeMZk0I7KMY2luJDg71ebVdRINhCA3hLK 3RINOnDA7/CSLQStyqA7Oy8Xz2389hLC0TWyAmP98gH3zwYXZWZcCG8pcMngf0Ua m5iui8scloSbP1UlWz46PXxde31H4zp6MWW9//gAnKsf1jR2LJW52eVJiNvdec8Z 17yXNCe4oYyYwycysaVaWyxPVpXoy+b4R3l+v2/MhF4F5k9zsu/ZerM4/svsnjoN 6xfs6Eyd/IN5x3a215eMXwo88Hwv/GrD/2DZZRYpBbTiv7X0COs=
    =2WIr
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Ben Hutchings on Wed Sep 11 17:20:01 2024
    XPost: linux.debian.ports.superh

    On Wed, 2024-09-11 at 16:55 +0200, Ben Hutchings wrote:
    OK, thanks a lot, this is very useful to know.

    But just to clarify, can I just apply this to the current latest Debian package, run debian/rules debian/control-real and build the package normally?

    Sorry, if that's too obvious, I just want to avoid producing noise.

    You can apply it to the latest version in experimental, yes.

    Thanks! Will give it a try.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to John Paul Adrian Glaubitz on Fri Sep 13 18:00:01 2024
    XPost: linux.debian.ports.superh

    Hi Ben,

    On Wed, 2024-09-11 at 17:14 +0200, John Paul Adrian Glaubitz wrote:
    On Wed, 2024-09-11 at 16:55 +0200, Ben Hutchings wrote:
    OK, thanks a lot, this is very useful to know.

    But just to clarify, can I just apply this to the current latest Debian package, run debian/rules debian/control-real and build the package normally?

    Sorry, if that's too obvious, I just want to avoid producing noise.

    You can apply it to the latest version in experimental, yes.

    Thanks! Will give it a try.

    Just as a heads-up: I need a few more days as my sh4 builder is currently busy with some GCC test builds ahead of the GCC SH LRA transition. I will test your patch set as soon as possible and definitely before the end of next week.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ben Hutchings@21:1/5 to John Paul Adrian Glaubitz on Sun Sep 15 00:20:01 2024
    XPost: linux.debian.ports.superh

    On Fri, 2024-09-13 at 17:59 +0200, John Paul Adrian Glaubitz wrote:
    Hi Ben,

    On Wed, 2024-09-11 at 17:14 +0200, John Paul Adrian Glaubitz wrote:
    On Wed, 2024-09-11 at 16:55 +0200, Ben Hutchings wrote:
    OK, thanks a lot, this is very useful to know.

    But just to clarify, can I just apply this to the current latest Debian package, run debian/rules debian/control-real and build the package normally?

    Sorry, if that's too obvious, I just want to avoid producing noise.

    You can apply it to the latest version in experimental, yes.

    Thanks! Will give it a try.

    Just as a heads-up: I need a few more days as my sh4 builder is currently busy
    with some GCC test builds ahead of the GCC SH LRA transition. I will test your
    patch set as soon as possible and definitely before the end of next week.

    I've done a new cross-build here, so you can test the packages from: https://people.debian.org/~benh/packages/linux-sh4/

    Ben.

    --
    Ben Hutchings
    If the facts do not conform to your theory, they must be disposed of.


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmbmCe8ACgkQ57/I7JWG EQmhwg//fW3wilIBfhkTakJ8YwolHYyk9+QP27z7ki0GbAoDPi3+ReR7bqTbSU9F h/i3+2W0XLeJNFCLYFvu7Hs1fvL1KZ5GWzHIgpJ9wMOmxXbO4+O74xdJLdtCViOV LYPBkbTqh06/zJKaJvJyfOlg7+s8fJDSr3iE//7pbO+Acojh6B+6n1xCn6QCi8Up yUfDNmczM6auK9rgxLYMIigIIHyv1fZn8Y1gE8bWo7cW/Q4tdziXlSyZEhDQi3uf 0Nfw1RtCk+EQjDkYjn5JkolnGIgx1/DPonN5dX8YD8fkLmzdjBzA0RMn6xYVfbz9 WjylIgqe+7d24Xzu9wPc926jfcCELxpjrbMP75DJ9HY3dHCopLKjdLJPVKp9F9Ac DS1e3FEtIpCu/261D+At0HUz2HgR03ZQkL3xXNzQ3BlMYQDnjRaVN8soliq63h5N pN9gyqHsxKD0laYCrC/85MvJRxF0AczC7ywkBSm57sMIe65kxqZ95YSfkdra5SyT Ew3wgHKGjub/v/p9ID8OvwYce01AdJR/APH0tMJA0KUv/U2CDjhESFJuTYrwyp2a FDjtTbVUSKqJj6JD/5We2otOeWPWtS3LP6pmeMWdqB2TLrJYLOsKGzdFWlEy7vpS sPTwpL9mhmxjjKJ0YHo0zyfdWuqYwjbvmlpfHsyMCmqe6ewT63w=
    =oqzC
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Ben Hutchings on Sun Sep 15 08:10:01 2024
    XPost: linux.debian.ports.superh

    On Sun, 2024-09-15 at 00:10 +0200, Ben Hutchings wrote:
    I've done a new cross-build here, so you can test the packages from: https://people.debian.org/~benh/packages/linux-sh4/

    Thanks a lot.

    I installed the new kernel package and it seems it won't work as it's not
    an U-Boot image as required but just a plain compressed kernel image:

    root@tirpitz:~> file /boot/vmlinuz-6.11-rc5+unreleased-sh7785lcr /boot/vmlinuz-6.11-rc5+unreleased-sh7785lcr: Linux kernel
    root@tirpitz:~>

    My working custom kernel looks like this:

    root@tirpitz:~> file /mnt/uImage-6.5.gz
    /mnt/uImage-6.5.gz: u-boot legacy uImage, Linux-6.5.0, Linux/SuperH, OS Kernel Image (gzip), 4421099 bytes, Fri May 3 11:48:38 2024, Load Address: 0X80001000, Entry Point: 0X80002000, Header CRC:
    0X98EEB114, Data CRC: 0X2F5A3D34
    root@tirpitz:~>

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ben Hutchings@21:1/5 to John Paul Adrian Glaubitz on Sun Sep 15 18:30:01 2024
    XPost: linux.debian.ports.superh

    On Sun, 2024-09-15 at 08:00 +0200, John Paul Adrian Glaubitz wrote:
    On Sun, 2024-09-15 at 00:10 +0200, Ben Hutchings wrote:
    I've done a new cross-build here, so you can test the packages from: https://people.debian.org/~benh/packages/linux-sh4/

    Thanks a lot.

    I installed the new kernel package and it seems it won't work as it's not
    an U-Boot image as required but just a plain compressed kernel image:
    [...]

    We never install a uImage as /boot/vmlinu[xz]-*. From the very
    beginning of the sh4 port in <https://bugs.debian.org/569034>, we've
    built a zImage for this flavour even though the upstream default is a
    uImage.

    If it's necessary to install a uImage somewhere then that tends to be
    done by flash-kernel, but I don't see any sign of sh4 support there.
    It rather seems like this board was never properly supported in Debian.

    If you're interested in fixing that, then please:

    - Do the uImage conversion and installation manually and test the
    result.
    - If it works, add a configuration for this board to flash-kernel.

    Otherwise, let me know and I can delete this flavour.

    Ben.


    --
    Ben Hutchings
    If the facts do not conform to your theory, they must be disposed of.


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmbnCmsACgkQ57/I7JWG EQks+w/9EQp8OAKfdv8yCFtK91QklnM52GW6d5PJlXK5B4/rOlUsbqS/eK7fsNQ9 tr4nS856rDmn0Huib3UB0OCl/UNL/Vgqt5ulDjr0XgZ5ArAo+4YpdvJGCcORedt4 qlwOWWq3P3VPBc52xVh8/yAlrxdQ3GY0i3WKtFrq7uHdCiC8IAJBnfuVX5y9zOyp eO8aUEHYeLUZG0vdG+yqPn+Asb/WTV1R4/fQI0cvQrqfMTX4Mozs0pWtB/9UcrZp 8xhv0lPT6C8mKKGysVISFHnVC/Cx/fmY6xn/HY/o0oDIf/itWmw/AMRUbcGdBOgP XmPbzxplYs3SSBo9yCOweEed72F1e53OCxiTSi0eFcQuItjxFEcu7O7Z4H8oUabU SpwZVBW8ZyLkeqDitKsnuy0HIysrffnxXiISCpMgsKyCXwKKTBw7jbKHLro5C9ir MKkuGw9MbBnlN3VM1PyEQqnUvRtEmPbF03UB2uJhYj/L6dhLUh/3N9wDQtpFIosc HGFpGjH/hyyzuC7svfAZwrTIKOuJaCkEyzirPo+qSp4ZoporwmBSsEUU+ks3zAkJ 2sPslY1d9X/0/+E1NRg+Qb/0eDVGSsQxKU/JatKV7+wGPS4qlsK+7X5fhbWdLxhc TzNquHBvVxF9lUUGVZqPh77HyzBnjVF25JmBd+PLvskbZLBfv+s=
    =It1s
    -----END PGP SIGNATURE-----

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