Re: [PATCH 0/2] J2 Turtle Board fixes

From: Rob Landley
Date: Fri Apr 11 2025 - 07:42:41 EST


On 4/8/25 10:23, John Paul Adrian Glaubitz wrote:
Hi Rob,

On Fri, 2025-02-28 at 16:19 -0600, Rob Landley wrote:
Which was fixed a year ago, which is why I told you to use the new
toolchain with a current musl-libc:

http://lists.landley.net/pipermail/toybox-landley.net/2024-February/030040.html

Unless you're hitting the OTHER issue I fixed last year...

https://github.com/landley/toybox/commit/0b2d5c2bb3f1

I just downloaded the latest toolchain from:

https://landley.net/bin/toolchains/latest/sh2eb-linux-muslfdpic-cross.tar.xz

and the issue still persists.

Am I missing anything?

The march 2024 rebuild was in response to that Feb 2024 bugfix, so it
_should_ have the fix? (I'm waiting for another musl release to rebuild
them again...)

I just downloaded the toolchain currently at that URL and built mkroot
and it worked for me:

Run /init as init process
sntp: time.google.com:123: Try again
Type exit when done.
$ cat /proc/version
Linux version 6.14.0-rc3 (landley@driftwood) (sh2eb-linux-muslfdpic-cc
(GCC) 11.2.0, GNU ld (GNU Binutils) 2.33.1) #1 SMP Fri Feb 28 15:47:36
CST 2025

And the failure _without_ the fix was deterministic rather than
intermittent, so...

Keep in mind the init script has a 3 second timeout trying to call sntp
to set the clock, which will fail if the ethernet isn't connected (or no
driver, or no internet...)

I just gave it another try and it still hangs for me at:

Run /init as init process

with the latest toolchain, toybox and kernel (v6.15-rc-1).

FYI I reproduced this but haven't tracked it down yet.

Rob