mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Karl Mehltretter <kmehltretter@gmail.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Rich Felker <dalias@libc.org>,
	 linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sh: intc: sort the prio and sense lists after filling them
Date: Mon, 28 Sep 2026 19:21:01 +0200	[thread overview]
Message-ID: <cdb4898094f152eb617ea353c0780e7fbb000659.camel@physik.fu-berlin.de> (raw)
In-Reply-To: <CAMuHMdW=amt+3ej6+i5TMaO6VUKJt3qqYvSWctFtSt8Tttrk2g@mail.gmail.com>

Hi Geert,

On Mon, 2026-09-28 at 19:00 +0200, Geert Uytterhoeven wrote:
> Hi Adrian,
> 
> On Mon, 28 Sept 2026 at 18:46, John Paul Adrian Glaubitz
> <glaubitz@physik.fu-berlin.de> wrote:
> > On Mon, 2026-09-28 at 18:03 +0200, Geert Uytterhoeven wrote:
> > > On Mon, 28 Sept 2026 at 17:10, John Paul Adrian Glaubitz
> > > <glaubitz@physik.fu-berlin.de> wrote:
> > > > => usb reset; fatload usb 0:1 0x89000000 uImage-7.3.0.gz ; pmb ; bootm
> > > > (Re)start USB...
> > > > USB0:   scanning bus 0 for devices... 2 USB Device(s) found
> > > >        scanning usb for storage devices... 1 Storage Device(s) found
> > > > reading uImage-7.3.0.gz
> > > > 3649306 bytes read in 2074 ms (1.7 MiB/s)
> > > > ## Booting kernel from Legacy Image at 89000000 ...
> > > >    Image Name:   Linux-7.3.0-rc5-00001-g8cd915e93
> > > >    Image Type:   SuperH Linux Kernel Image (gzip compressed)
> > > >    Data Size:    3649242 Bytes = 3.5 MiB
> > > >    Load Address: 8c010000
> > > >    Entry Point:  8c011000
> > > >    Verifying Checksum ... OK
> > > >    Uncompressing Kernel Image ... OK
> > > > 
> > > > I also never understood why the load address I used at the u-boot prompt
> > > > differed from the one that the uImage build process showed at the end of
> > > > the kernel build:
> > > > 
> > > >   GZIP    arch/sh/boot/vmlinux.bin.gz
> > > >   UIMAGE  arch/sh/boot/uImage.gz
> > > > Image Name:   Linux-7.3.0-rc5-00002-g02d53450e
> > > > Created:      Mon Sep 28 14:56:15 2026
> > > > Image Type:   SuperH Linux Kernel Image (gzip compressed)
> > > > Data Size:    3649249 Bytes = 3563.72 KiB = 3.48 MiB
> > > > Load Address: 8c010000
> > > > Entry Point:  8c011000
> > > >   Image arch/sh/boot/uImage is ready
> > > > 
> > > > Any idea?
> > > 
> > > 0x89000000 is the address where you load the uImage.
> > > 0x8c010000 is the address where the unpacked kernel image will be
> > > stored.
> > > 
> > > The latter comes from your kernel config:
> > > 
> > >     arch/sh/boot/Makefile:UIMAGE_LOADADDR = $(KERNEL_LOAD)
> > >     arch/sh/boot/Makefile:UIMAGE_ENTRYADDR = $(KERNEL_ENTRY)
> > > 
> > > It's similar on ARM platforms that (still) use uImage.
> > 
> > The thing is that it stopped working after 6.5.0 and I never figured
> > out why. I did test all kinds of changes and it just never worked
> > again while pre 6.5.0 kernels work just fine.
> 
> Have you tried to bisect it?

Yes, I did. I did not manage to find the commit that caused it.

Maybe Karl has an idea. This image is known to work [1]:

glaubitz@suse-laptop:~> file uImage-git.gz
uImage-git.gz: u-boot legacy uImage, Linux-6.5.0-rc2, Linux/SuperH, OS Kernel Image (gzip), 4416616 bytes, Mon Jul 17 14:17:35 2023, Load Address: 0X80001000, Entry Point: 0X80002000, Header CRC:
0XBA69203A, Data CRC: 0XD097D603
glaubitz@suse-laptop:~>

It boots fine with:

usb reset ; fatload usb 0:1 0x89000000 uImage-git.gz ; pmb ; bootm

Adrian

> [1] https://people.debian.org/~glaubitz/sh7785lcr/uImage-git.gz

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

  reply	other threads:[~2026-09-28 17:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-27 19:13 Karl Mehltretter
2026-09-27 19:30 ` Karl Mehltretter
2026-09-28 15:01 ` John Paul Adrian Glaubitz
2026-09-28 16:03   ` Geert Uytterhoeven
2026-09-28 16:46     ` John Paul Adrian Glaubitz
2026-09-28 17:00       ` Geert Uytterhoeven
2026-09-28 17:21         ` John Paul Adrian Glaubitz [this message]
2026-09-28 18:34           ` Geert Uytterhoeven
2026-09-28 19:02             ` John Paul Adrian Glaubitz
2026-09-28 21:22               ` Karl Mehltretter
2026-09-28 21:29                 ` John Paul Adrian Glaubitz
2026-09-29  9:20                 ` John Paul Adrian Glaubitz
2026-09-29  9:39                   ` John Paul Adrian Glaubitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cdb4898094f152eb617ea353c0780e7fbb000659.camel@physik.fu-berlin.de \
    --to=glaubitz@physik.fu-berlin.de \
    --cc=dalias@libc.org \
    --cc=geert@linux-m68k.org \
    --cc=kmehltretter@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®