fix build of ibmstb4 and ibmstbx25
PATCH 1/1 fix build of ibmstb4 and ibmstbx25
Hi Tom,
config.in.diff adds two missing '$' for config variables in arch/ppc/config.in and the two other patches update the ocp definitions for the stb4xxx and stbx25xx CPUs, so they can be built again. I used linuxppc_2_4_devel, but they are needed for linuxppc-2.4, too.
Any idea why my changes to config.in were visible with bk difftool but not with bk diffs? It's the first time I tried to use bk for creating patches and I really don't like it. :)
Regards,
Andreas
arch/ppc/config.in renamed from arch/ppc/config.in.orig +2 -2
@@ -386,8 +386,8 @@ # if [ "$CONFIG_405GP" = "y" -o "$CONFIG_405EP" = "y" -o \ "$CONFIG_NP405H" = "y" -o "$CONFIG_NP405L" = "y" -o \ - "$CONFIG_NP405GS" = "y" -o "CONFIG_STB03xxx" = "y" -o \ - "$CONFIG_405LP" = "y" -o "CONFIG_405GPR" = "y" ]; then + "$CONFIG_NP405GS" = "y" -o "$CONFIG_STB03xxx" = "y" -o \ + "$CONFIG_405LP" = "y" -o "$CONFIG_405GPR" = "y" ]; then define_bool CONFIG_IBM_OCP y define_bool CONFIG_405 y fi
===== ibmstb4.c 1.6 vs edited =====
ibmstb4.c renamed from arch/ppc/platforms/ibmstb4.c +55 -13
75 lines not on this page · raw message
===== ibmstbx25.c 1.2 vs edited =====
ibmstbx25.c renamed from arch/ppc/platforms/ibmstbx25.c +37 -10
54 lines not on this page · raw message
Quoted 6 lines · Andreas Oberritter
Hi Tom,
config.in.diff adds two missing '$' for config variables in
arch/ppc/config.inand the two other patches update the ocp definitions for the stb4xxx and stbx25xx CPUs, so they can be built again. I usedlinuxppc_2_4_devel, but they are needed for linuxppc-2.4, too.
Applied. Does this mean you have the HW and can test things?
Quoted 3 lines
Any idea why my changes to config.in were visible with bk difftool but not with bk diffs? It's the first time I tried to use bk for creating patches and I really don't like it. :)
I don't know, I always use bk diffs. Perhaps you didn't do a 'bk edit' before hand?
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 10 lines · Tom Rini
Quoted 6 lines · Andreas Oberritter
Hi Tom,
config.in.diff adds two missing '$' for config variables in
arch/ppc/config.inand the two other patches update the ocp definitions for the stb4xxx and stbx25xx CPUs, so they can be built again. I usedlinuxppc_2_4_devel, but they are needed for linuxppc-2.4, too.Applied. Does this mean you have the HW and can test things?
Thanks!
Yes, I have a set-top-box using the stb4500. I don't have an stbx25xx yet, but there are or will be some interesting boxes on the market using it.
I found two more bugs in linuxppc-2.4:
ppc405_wdt.c is missing, but it is available as a config option.
embed_config.c contains an #endif below #include <asm/io.h> without a matching #if.
Unfortunately I can't send patches at the moment because my harddisk died partially this morning...
Btw, thanks for applying the dbox2 patches! Will the watchdog code be merged in before 2.4.23, too?
Regards,
Andreas
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 15 lines · Andreas Oberritter
Quoted 10 lines · Tom Rini
Quoted 6 lines · Andreas Oberritter
Hi Tom,
config.in.diff adds two missing '$' for config variables in
arch/ppc/config.inand the two other patches update the ocp definitions for the stb4xxx and stbx25xx CPUs, so they can be built again. I usedlinuxppc_2_4_devel, but they are needed for linuxppc-2.4, too.Applied. Does this mean you have the HW and can test things?
Thanks!
Quoted 7 lines
Yes, I have a set-top-box using the stb4500. I don't have an stbx25xx yet, but there are or will be some interesting boxes on the market using it.
I found two more bugs in linuxppc-2.4:
ppc405_wdt.cis missing, but it is available as a config option.
This one is in my queue to cleanup up and verify on 44x. It probably got missed since there aren't many users.
Quoted 2 lines
embed_config.ccontains an #endif below #include <asm/io.h> without a matching #if.
This fix is in a set of mismerge fixes I'm going to push RSN.
Quoted 5 lines
Unfortunately I can't send patches at the moment because my harddisk died partially this morning...
Btw, thanks for applying the dbox2 patches! Will the watchdog code be merged in before 2.4.23, too?
I was going to clean it up first.
-Matt
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 32 lines · Matt Porter
Quoted 15 lines · Andreas Oberritter
Quoted 10 lines · Tom Rini
Quoted 6 lines · Andreas Oberritter
Hi Tom,
config.in.diff adds two missing '$' for config variables in
arch/ppc/config.inand the two other patches update the ocp definitions for the stb4xxx and stbx25xx CPUs, so they can be built again. I usedlinuxppc_2_4_devel, but they are needed for linuxppc-2.4, too.Applied. Does this mean you have the HW and can test things?
Thanks!
Quoted 7 lines
Yes, I have a set-top-box using the stb4500. I don't have an stbx25xx yet, but there are or will be some interesting boxes on the market using it.
I found two more bugs in linuxppc-2.4:
ppc405_wdt.cis missing, but it is available as a config option.This one is in my queue to cleanup up and verify on 44x. It probably got missed since there aren't many users.
Quoted 2 lines
embed_config.ccontains an #endif below #include <asm/io.h> without a matching #if.This fix is in a set of mismerge fixes I'm going to push RSN.
Quoted 7 lines
Quoted 5 lines
Unfortunately I can't send patches at the moment because my harddisk died partially this morning...
Btw, thanks for applying the dbox2 patches! Will the watchdog code be merged in before 2.4.23, too?
I was going to clean it up first.
I think he meant the dbox2 wdt changes. Actually, I was hoping that you would post the driver + needed changes to arch/ppc to lkml and see if anyone comments on the code.
those
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Tom Rini
Quoted 2 lines · Matt Porter
Quoted 1 line · Andreas Oberritter
ppc405_wdt.cis missing, but it is available as a config option.
<snip>
Quoted 6 lines
Quoted 1 line
I was going to clean it up first.
I think he meant the dbox2 wdt changes. Actually, I was hoping that you would post the driver + needed changes to
arch/ppcto lkml and see if anyone comments on the code.
those
Oh good, I saw the ppc405_wdt.c referenced above and figured he was still talking about that. :)
-Matt
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/