From: "Christian T. Steigies" <cts@debian.org>
To: Michael Schmitz <schmitzmic@gmail.com>
Cc: Wouter Verhelst <w@uter.be>, Thorsten Glaser <tg@mirbsd.de>,
geert@linux-m68k.org, linux-m68k@vger.kernel.org,
Ingo J?rgensmann <ij@2012.bluespice.org>
Subject: Re: [PATCH 00/11] Atari Ethernet/USB patch series - for upstream and debian-kernel
Date: Fri, 29 Mar 2013 00:10:39 +0100 [thread overview]
Message-ID: <20130328231039.GA14587@chumley.earth.sol> (raw)
In-Reply-To: <5154C5E0.3040608@gmail.com>
On Fri, Mar 29, 2013 at 11:36:16AM +1300, Michael Schmitz wrote:
> Christian,
> >>If that's possible - does anyone have a kernel cross-compile machine
> >>set up for that purpose?IJ?
> >I have the cross-compilers from Thorsten installed and could just build a
> >kernel for amiga from Geert's m68k repo. I trimmed down the config a bit
>
> Let's wait until Geert has applied my patches to m68k-queue.
I still need to figure out again how kernel building works nowadays, so I am
not in a big hurry.
> >and removed some not needed drivers. The kernel is now 3698472 bytes big.
> >I still find that huge, but it allowed me to boot without a memfile to
> >reduce the RAM! Alas, no SCSI support for the B2060...
>
> Not entirely unexpected.
yup. CONFIG_SCSI_ZORRO7XX is enabled, will this be the new driver?
The blizzard and cyberstorm options are still set in the amiga config, but
the are filtered out, since the drivers are not present anymor I think.
> >The official Debian package fails to cross-compile when building the
> >hid-microsoft module, maybe its time to disable that? Probably this is not
> >set in the m68k config, but in the "main" debian config. I am not sure if I
> >can override that, it may be easier to build kernels (for testing and the
>
> Why not? Just add another m68k patch that removes this option from
> the defconfig used.
As far as I remember, the config is combined of a generic config, an m68k
config, and an amiga config. Each file set only part of the total config,
probably so that the kernels across all arches support more of less the same
features. Thats a good idea, but I think many drivers are useless for the
buildds, by removing them the kernel can fit into memory again, just barely.
The HID drivers seem to be enabled in the official kernel, which runs on
kullervo, I don't seem to be able to switch off just the microsoft one.
Maybe by modifying the generic config, but I am afraid the magical package
building breaks again, genconfig.py does not run on my testing box, not sure
why. In Geert's tree, memcmp is not used in the driver, thats probably why
this one builds:
@@ -47,9 +46,9 @@
rdesc[559] = 0x45;
}
/* the same as above (s/usage/physical/) */
- if ((quirks & MS_RDESC_3K) && *rsize == 106 &&
- !memcmp((char []){ 0x19, 0x00, 0x29, 0xff },
- &rdesc[94], 4)) {
+ if ((quirks & MS_RDESC_3K) && *rsize == 106 && rdesc[94] == 0x19 &&
+ rdesc[95] == 0x00 && rdesc[96] == 0x29 &&
+ rdesc[97] == 0xff) {
rdesc[94] = 0x35;
rdesc[96] = 0x45;
}
> >buildds) another way. kernel-package?
>
> No idea really - how are the kernel packages built otherwise?
I tried: 4.5 Building a custom kernel from Debian kernel source:
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html
with linux-source-3.8, which is easier to modify than the linux source
package (it does not run genconfig for one). Cross-compiling is easy:
make ARCH=m68k CROSS_COMPILE=m68k-linux-gnu- deb-pkg
but it creates the same failure due to memcmp. I wonder how the debian
packages have been built, or maybe the cross-compilers are outdated on my
system?
The kernel packages are built with python magic, it seems. kernel-package
does not seem to be used anymore. You do not look at the kernel for four
and a half years, and BOOM, suddenly everything has changed!
Christian
next prev parent reply other threads:[~2013-03-28 23:10 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-25 6:37 [PATCH 00/11] Atari Ethernet/USB patch series - for upstream and debian-kernel Michael Schmitz
2013-03-25 6:37 ` [PATCH 01/11] m68k/atari: ROM port ISA adapter support Michael Schmitz
2013-03-25 6:37 ` [PATCH 02/11] m68k/irq: Add handle_polled_irq() for timer based soft interrupts Michael Schmitz
2013-03-25 6:37 ` [PATCH 03/11] m68k/atari: use dedicated irq_chip for timer D interrupts Michael Schmitz
2013-03-25 6:37 ` [PATCH 04/11] m68k/atari: EtherNAT - platform device and IRQ support code Michael Schmitz
2013-03-25 6:37 ` [PATCH 05/11] m68k/atari: EtherNEC - add platform device support Michael Schmitz
2013-03-25 6:37 ` [PATCH 06/11] m68k/atari: EtherNAT - ethernet support - new driver (smc91x) Michael Schmitz
2013-03-25 6:37 ` [PATCH 07/11] m68k/atari: EtherNEC - ethernet support - new driver (ne.c) Michael Schmitz
2013-03-25 6:37 ` [PATCH 08/11] m68k/atari: EtherNAT - add interrupt chip definition for CPLD interrupts Michael Schmitz
2013-03-25 6:37 ` [PATCH 09/11] m68k: Implement ndelay() based on the existing udelay() logic Michael Schmitz
2013-03-25 6:37 ` [PATCH 10/11] m68k/atari: USB - add platform devices for EtherNAT/NetUSBee ISP1160 HCD Michael Schmitz
2013-03-25 6:37 ` [PATCH 11/11] m68k/atari: USB - add ISP1160 USB host controller support Michael Schmitz
2013-03-25 17:53 ` [PATCH 00/11] Atari Ethernet/USB patch series - for upstream and debian-kernel Thorsten Glaser
2013-03-25 21:25 ` Michael Schmitz
2013-03-26 8:12 ` Wouter Verhelst
2013-03-27 7:02 ` Michael Schmitz
2013-03-27 8:19 ` Geert Uytterhoeven
2013-03-28 22:40 ` Michael Schmitz
2013-03-27 8:57 ` Ingo Jürgensmann
2013-03-28 4:53 ` Michael Schmitz
2013-03-28 21:17 ` Christian T. Steigies
2013-03-28 22:36 ` Michael Schmitz
2013-03-28 23:10 ` Christian T. Steigies [this message]
2013-03-29 1:09 ` Michael Schmitz
2013-03-29 8:22 ` Christian T. Steigies
2013-03-29 7:56 ` Geert Uytterhoeven
2013-03-29 8:06 ` Christian T. Steigies
2013-03-29 8:30 ` Geert Uytterhoeven
2013-03-29 18:46 ` Michael Schmitz
2013-03-29 19:33 ` Christian T. Steigies
2013-03-29 21:38 ` Thorsten Glaser
2013-03-29 22:47 ` Christian T. Steigies
2013-03-29 23:24 ` Michael Schmitz
2013-03-30 0:00 ` Ingo Jürgensmann
2013-03-30 0:11 ` Ingo Jürgensmann
2013-03-30 1:37 ` Michael Schmitz
2013-03-30 9:34 ` Ingo Jürgensmann
2013-03-30 10:23 ` Geert Uytterhoeven
2013-03-30 7:23 ` Wouter Verhelst
2013-03-30 9:23 ` Christian T. Steigies
2013-03-30 8:14 ` Andreas Schwab
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=20130328231039.GA14587@chumley.earth.sol \
--to=cts@debian.org \
--cc=geert@linux-m68k.org \
--cc=ij@2012.bluespice.org \
--cc=linux-m68k@vger.kernel.org \
--cc=schmitzmic@gmail.com \
--cc=tg@mirbsd.de \
--cc=w@uter.be \
/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