Re: 2.6.25-rc3 on mpc8548amc doesn't boot
Hi, I have a question for submitting my changes: As I said I have commented a few line in arch/powerpc/boot/Makefile #$(obj)/4xx.o: BOOTCFLAGS += -mcpu=405 #$(obj)/ebony.o: BOOTCFLAGS += -mcpu=405 #$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405 #$(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405 #$(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=40 I guess that shouldn't be integrated in my patch, should I ? For what I have found on websearch that should come from my gcc version ( 3.4.3 with specific stuff). But still I needed that... thanks, Maxime On Thu, Feb 28, 2008 at 7:56 AM, maxime louvel [EMAIL PROTECTED] wrote: Hi, I wanted first to check how the kernel is behaving, with a few tests. Then what is the best solution to do this ? A patch from the 2.6.25-rc3 vanilla kernel ? cheers, Maxime On Thu, Feb 28, 2008 at 7:03 AM, Kumar Gala [EMAIL PROTECTED] wrote: On Feb 27, 2008, at 10:25 AM, maxime louvel wrote: Hi again, I am answering my self sorry for the spam... Just to say that my problem has been solve if someone has something similar... My changes were good, I just didn't compile the good file... Any plans to submit patches to add support for this board to the kernel? - k -- Maxime Louvel 0044 7964 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom -- Maxime Louvel 0044 7964 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
2.6.25-rc3 on mpc8548amc doesn't boot
Hi, I am still trying to make a 2.6.25-rc3 vanilla kernel boot (an work fine in a second time) on a mpc8548amc board. I have add the platform specific stuff from the sources of the current kernel running on the cards. What I have basically add is: - arch/powerpc/platforms/85xx/mpc85xx_amc.c - arch/powerpc/boot/dts/mpc8548amc.dts I have also changed the Kconfig and Makefile in the arch/powerpc/platforms/85xx to make the kernel try to support my board I have encountered some problem when compiling a uImage that I have basically solve like this (in arch/powerpc/boot/Makefile) #$(obj)/4xx.o: BOOTCFLAGS += -mcpu=405 #$(obj)/ebony.o: BOOTCFLAGS += -mcpu=405 #$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405 #$(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405 #$(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405 I have a gcc-3.4.3 embedded compiler with some stuff specific to the platform. After the previous hack, I have been able to compile a uImage. I have tried to boot it and this is what I got: AMC= bootm 0x100 ## Booting image at 0100 ... Image Name: Linux-2.6.24 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:1802038 Bytes = 1.7 MB Load Address: Entry Point: Verifying Checksum ... OK Uncompressing Kernel Image ... OK No further messages... I have recently updated the uboot of the cards (to support the new image version) and I am capable of booting a 2.6.23.6 image. This last image has been compiled from a vanilla kernel where I have add the platform specific stuff (cf beginning of this mail). Since my 2.6.23.6 image works fine, I have tried to adapt the file I have added to the 2.6.25-rc3 kernel. I have made some changes in the arch/powerpc/platforms/85xx/mpc85xx_amc.c file and in the mpc8548amc.dts file. I have attached the changes I have done on both files. Do you have an idea ? cheers, Maxime -- Maxime Louvel 0044 7964 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom 2.6.23.6.mpc8548_amc_2.6.25-rc3.mpc85xx_amc Description: Binary data 2.6.23.6.mpc8548dts_2.6.25-rc3.mpc8548dts Description: Binary data ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: 2.6.25-rc3 on mpc8548amc doesn't boot
Hi again, I am answering my self sorry for the spam... Just to say that my problem has been solve if someone has something similar... My changes were good, I just didn't compile the good file... cheers, Maxime On Wed, Feb 27, 2008 at 12:37 PM, maxime louvel [EMAIL PROTECTED] wrote: Hi, I am still trying to make a 2.6.25-rc3 vanilla kernel boot (an work fine in a second time) on a mpc8548amc board. I have add the platform specific stuff from the sources of the current kernel running on the cards. What I have basically add is: - arch/powerpc/platforms/85xx/mpc85xx_amc.c - arch/powerpc/boot/dts/mpc8548amc.dts I have also changed the Kconfig and Makefile in the arch/powerpc/platforms/85xx to make the kernel try to support my board I have encountered some problem when compiling a uImage that I have basically solve like this (in arch/powerpc/boot/Makefile) #$(obj)/4xx.o: BOOTCFLAGS += -mcpu=405 #$(obj)/ebony.o: BOOTCFLAGS += -mcpu=405 #$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405 #$(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405 #$(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405 I have a gcc-3.4.3 embedded compiler with some stuff specific to the platform. After the previous hack, I have been able to compile a uImage. I have tried to boot it and this is what I got: AMC= bootm 0x100 ## Booting image at 0100 ... Image Name: Linux-2.6.24 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:1802038 Bytes = 1.7 MB Load Address: Entry Point: Verifying Checksum ... OK Uncompressing Kernel Image ... OK No further messages... I have recently updated the uboot of the cards (to support the new image version) and I am capable of booting a 2.6.23.6 image. This last image has been compiled from a vanilla kernel where I have add the platform specific stuff (cf beginning of this mail). Since my 2.6.23.6 image works fine, I have tried to adapt the file I have added to the 2.6.25-rc3 kernel. I have made some changes in the arch/powerpc/platforms/85xx/mpc85xx_amc.c file and in the mpc8548amc.dts file. I have attached the changes I have done on both files. Do you have an idea ? cheers, Maxime -- Maxime Louvel 0044 7964 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom -- Maxime Louvel 0044 7964 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: 2.6.25-rc3 on mpc8548amc doesn't boot
Hi, I wanted first to check how the kernel is behaving, with a few tests. Then what is the best solution to do this ? A patch from the 2.6.25-rc3 vanilla kernel ? cheers, Maxime On Thu, Feb 28, 2008 at 7:03 AM, Kumar Gala [EMAIL PROTECTED] wrote: On Feb 27, 2008, at 10:25 AM, maxime louvel wrote: Hi again, I am answering my self sorry for the spam... Just to say that my problem has been solve if someone has something similar... My changes were good, I just didn't compile the good file... Any plans to submit patches to add support for this board to the kernel? - k -- Maxime Louvel 0044 7964 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: 2.6.24 for mpc8458amc
Hi, yes It has something like 16550 UART. the compiler version is gcc-3.4.3 with some specific stuff for the platform. I also have a gcc-4.1.2 vanilla which has been compiled with the previous one. The 4.1.2 works if you tell it to emulate the floating point instructions. thanks Scott, without the treeboot-walnut it compiled I have still my first problem though: AMC= bootm 0x100 ## Booting image at 0100 ... Image Name: Linux-2.6.24 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:1802038 Bytes = 1.7 MB Load Address: Entry Point: Verifying Checksum ... OK Uncompressing Kernel Image ... OK and nothing else... Any idea ? This may become from the fact that the uboot installed on the cards is old and it apparently doesn't support the newer version of the kernel image... (I have got that from an another mailing list) cheers, Maxime On Feb 20, 2008 5:19 AM, Kumar Gala [EMAIL PROTECTED] wrote: On Feb 19, 2008, at 6:19 AM, [EMAIL PROTECTED] wrote: Hello Maxime, if your board is still running, although you can't see the messages that means you don't have any console. Try to set one (I think you can use a SCM of the CPM) in the kernel configuration (characters devices) or in the command line (console=). If you really have a mpc8548 than there is no CPM. It has 16550 style UARTs on it. - k -- Maxime Louvel 0044 7964 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
mpc8548amc vs mpc8548cds
Hi, first of all I am sorry if this is not the good place to ask that but I don't know where else ... My question is: Does anyone knows the difference between the mpc8548amc and mpc8548cds platforms ? I am working on an amc one but the 2.6.24 kernel is supporting only the cds one. Do you know if I can use the dts file form the mpc8548cds for the mpc8548amc ? thanks, Maxime -- Maxime Louvel 0044 7964 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
2.6.24 for mpc8458amc
Hi, I am trying to make a 2.6.24 vanilla kernel boot (an work fine in a second time) on a mpc8548amc board. I have add the platform specific stuff from the sources of the current kernel running on the cards. What I have basically add is: - a folder mpc8548amc, in the config/platform directory, which allow to select the mpc8548amc as the supported platform - add the following files: - arch/ppc/configs/mpc8548amc_defconfig - arch/ppc/configs/platforms/85xx/mpc_8548_amc.h and .c - I have used the dts of an another platform (mpc8548cds) which seems quite the same, but I haven't got any confirmation of that yet. When I am booting the kernel image I get: AMC= dhcp 0x100 uImage.amc.2.6.24 Speed: 1000, full duplex BOOTP broadcast 1 DHCP client bound to address 10.255.255.2 Using eTSEC0 device TFTP from server 0.0.0.0; our IP address is 10.255.255.2; sending through gateway 10.1.1.1 Filename 'uImage.amc.2.6.24'. Load address: 0x100 Loading: # # # # # ### done Bytes transferred = 1802102 (1b7f76 hex) AMC= bootm 0x100 ## Booting image at 0100 ... Image Name: Linux-2.6.24 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:1802038 Bytes = 1.7 MB Load Address: Entry Point: Verifying Checksum ... OK Uncompressing Kernel Image ... OK No further messages... Does someone has an idea ? thanks, Maxime -- Maxime Louvel 0044 7964 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: 2.6.24 for mpc8458amc
Thanks for your answer, I am going to check this ppc / powerpc things. I should use the architecture powerpc, don't I? I'm not really sure I have understand what do you want to do with a BDI-2000. I access the cards through a serial line directly. cheers, Maxime On Feb 19, 2008 2:24 PM, Jon Loeliger [EMAIL PROTECTED] wrote: maxime louvel wrote: Hi, I am trying to make a 2.6.24 vanilla kernel boot (an work fine in a second time) on a mpc8548amc board. I have add the platform specific stuff from the sources of the current kernel running on the cards. What I have basically add is: - a folder mpc8548amc, in the config/platform directory, which allow to select the mpc8548amc as the supported platform - add the following files: - arch/ppc/configs/mpc8548amc_defconfig - arch/ppc/configs/platforms/85xx/mpc_8548_amc.h and .c - I have used the dts of an another platform (mpc8548cds) which seems quite the same, but I haven't got any confirmation of that yet. Uh, let's clear up minor confusion here. Are you using ARCH=ppc or ARCH=powerpc? I'm surprised to see that there is mention of arch/ppc/... above. Are you sure this is an ARCH=ppc build? You won't need a DTS file at all then. But if you are using a DTS file, and I suspect you should, then this is ARCH=powerpc. When I am booting the kernel image I get: AMC= dhcp 0x100 uImage.amc.2.6.24 Speed: 1000, full duplex BOOTP broadcast 1 DHCP client bound to address 10.255.255.2 http://10.255.255.2/ Using eTSEC0 device TFTP from server 0.0.0.0 http://0.0.0.0/; our IP address is 10.255.255.2 http://10.255.255.2/; sending through gateway 10.1.1.1 http://10.1.1.1/ Filename 'uImage.amc.2.6.24'. Load address: 0x100 Loading: ## ### # # # # ### done Bytes transferred = 1802102 (1b7f76 hex) AMC= bootm 0x100 ## Booting image at 0100 ... Image Name: Linux-2.6.24 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:1802038 Bytes = 1.7 MB Load Address: Entry Point: Verifying Checksum ... OK Uncompressing Kernel Image ... OK No further messages... Does someone has an idea ? thanks, Maxime Did you download a DTB file and use it on the bootm command? Nope. This is really a FAQ failure mode. Are you sure you have the console set up properly? Any chance you can get to the __log_buf with a BDI-2000? Thanks, jdl -- Maxime Louvel 0044 7964 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: 2.6.24 for mpc8458amc
Hi again, this time I have tried to compile the kernel, with an embedded compiler on the board. here is the result... BOOTAS arch/powerpc/boot/ps3-hvcall.o BOOTCC arch/powerpc/boot/ps3.o BOOTCC arch/powerpc/boot/treeboot-bamboo.o BOOTCC arch/powerpc/boot/cuboot-8xx.o BOOTCC arch/powerpc/boot/cuboot-pq2.o BOOTCC arch/powerpc/boot/cuboot-sequoia.o BOOTCC arch/powerpc/boot/treeboot-walnut.o Assembler messages: Error: Internal assembler error for instruction icbt Internal error, aborting at ../../gas/config/tc-ppc.c line 1300 in ppc_setup_opcodes Please report this bug. make[2]: *** [arch/powerpc/boot/treeboot-walnut.o] Error 2 make[1]: *** [uImage] Error 2 make: *** [sub-make] Error 2 any idea ? cheers, Maxime On Feb 19, 2008 2:57 PM, Jon Loeliger [EMAIL PROTECTED] wrote: maxime louvel wrote: Thanks for your answer, I am going to check this ppc / powerpc things. I should use the architecture powerpc, don't I? ARCH == ppc is scheduled for _removal_ from the entire Kernel source base is just about 4 months. Feel free to move the deck chairs around. :-) I'm not really sure I have understand what do you want to do with a BDI-2000. Perhaps, for starters, you read Building Embedded Linux Systems as found here: http://www.oreilly.com/catalog/belinuxsys/ I access the cards through a serial line directly. Of course. But when you get no information there, you might try a different interface. jdl -- Maxime Louvel 0044 7964 80 43 Allen road Whitemore reans WV60AW Wolverhampton United Kingdom ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded