Re: Ping does not work on my MPC8544 board, using linux2.6.23
林志平 wrote: Yes mcp85xx_defconfig does not work, I can see mpc8540ads in the menuconfig, but no mpc8544ds. mpc8544ds is supported by CONFIG_MPC85xx_DS. CONFIG_MPC85XX_DS does not exist. Only mpc85xx_defconfig in arch/powerpc/configs I'm looking right at it, in arch/powerpc/platforms/85xx/Kconfig in 2.6.31. mpc85xx_defconfig selects this option. -Scott ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: Ping does not work on my MPC8544 board, using linux2.6.23
2009/12/10 Scott Wood > 林志平 wrote: > >> > Another question is that I found linux2.6.31 does not support >> > board mpc8544ds, >> >>It should. What problems do you see? >> >> => bootm 0x100 0x180 0x80 >> ## Booting kernel from Legacy Image at 0100 ... >> Image Name: Linux-2.6.31 >> Image Type: PowerPC Linux Kernel Image (gzip compressed) >> Data Size:2185099 Bytes = 2.1 MB >> Load Address: >> Entry Point: >> Verifying Checksum ... OK >> ## Loading init Ramdisk from Legacy Image at 0180 ... >> Image Name: Simple Embedded Linux Framework >> Image Type: PowerPC Linux RAMDisk Image (gzip compressed) >> Data Size:1859256 Bytes = 1.8 MB >> Load Address: >> Entry Point: >> Verifying Checksum ... OK >> ## Flattened Device Tree blob at 0080 >> Booting using the fdt blob at 0x80 >> Uncompressing Kernel Image ... OK >> Loading Ramdisk to 1fca7000, end 1fe6ceb8 ... OK >> booting kernel using flat tree >> It then stops and never print any more, I use mpc85xx_defconfig, I select >> mpc85xxds in the menuconfig and deselect other options like mpc8540ads etc. >> > > Are you using the mpc8544ds device tree from 2.6.31, unchanged? Try > turning on CONFIG_PPC_EARLY_DEBUG. > > No need to deselect the others, BTW. >Does mpc85xx_defconfig not work? >> >> Yes mcp85xx_defconfig does not work, I can see mpc8540ads in the >> menuconfig, but no mpc8544ds. >> > > mpc8544ds is supported by CONFIG_MPC85xx_DS. > CONFIG_MPC85XX_DS does not exist. Only mpc85xx_defconfig in > arch/powerpc/configs > -Scott > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: Ping does not work on my MPC8544 board, using linux2.6.23
林志平 wrote: > Another question is that I found linux2.6.31 does not support > board mpc8544ds, It should. What problems do you see? => bootm 0x100 0x180 0x80 ## Booting kernel from Legacy Image at 0100 ... Image Name: Linux-2.6.31 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:2185099 Bytes = 2.1 MB Load Address: Entry Point: Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 0180 ... Image Name: Simple Embedded Linux Framework Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size:1859256 Bytes = 1.8 MB Load Address: Entry Point: Verifying Checksum ... OK ## Flattened Device Tree blob at 0080 Booting using the fdt blob at 0x80 Uncompressing Kernel Image ... OK Loading Ramdisk to 1fca7000, end 1fe6ceb8 ... OK booting kernel using flat tree It then stops and never print any more, I use mpc85xx_defconfig, I select mpc85xxds in the menuconfig and deselect other options like mpc8540ads etc. Are you using the mpc8544ds device tree from 2.6.31, unchanged? Try turning on CONFIG_PPC_EARLY_DEBUG. No need to deselect the others, BTW. Does mpc85xx_defconfig not work? Yes mcp85xx_defconfig does not work, I can see mpc8540ads in the menuconfig, but no mpc8544ds. mpc8544ds is supported by CONFIG_MPC85xx_DS. -Scott ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: Ping does not work on my MPC8544 board, using linux2.6.23
PING works now, after modifying the code of gianfar-mii.c 2009/12/8 林志平 > > 2009/12/8 Scott Wood > > On Mon, Dec 07, 2009 at 11:53:22AM +0800, 林志平 wrote: >> > Does dtc1.2.0 can compile dts files under linux2.6.23? >> >> Probably not -- 2.6.23 is very old, and I think newer dtcs only support >> the >> newer dts syntax. >> >> > Another question is that I found linux2.6.31 does not support >> > board mpc8544ds, >> >> It should. What problems do you see? > > => bootm 0x100 0x180 0x80 > ## Booting kernel from Legacy Image at 0100 ... >Image Name: Linux-2.6.31 >Image Type: PowerPC Linux Kernel Image (gzip compressed) >Data Size:2185099 Bytes = 2.1 MB >Load Address: >Entry Point: >Verifying Checksum ... OK > ## Loading init Ramdisk from Legacy Image at 0180 ... >Image Name: Simple Embedded Linux Framework >Image Type: PowerPC Linux RAMDisk Image (gzip compressed) >Data Size:1859256 Bytes = 1.8 MB >Load Address: >Entry Point: >Verifying Checksum ... OK > ## Flattened Device Tree blob at 0080 >Booting using the fdt blob at 0x80 >Uncompressing Kernel Image ... OK >Loading Ramdisk to 1fca7000, end 1fe6ceb8 ... OK > booting kernel using flat tree > It then stops and never print any more, I use mpc85xx_defconfig, I select > mpc85xxds in the menuconfig and deselect other options like mpc8540ads etc. > >> >> > And I never boot linux-2.6.31 on my board, why linux-2.6.31 doesnot >> > provide a config file like mpc8544_ds_defconfig? >> >> Does mpc85xx_defconfig not work? >> > Yes mcp85xx_defconfig does not work, I can see mpc8540ads in the > menuconfig, but no mpc8544ds. And when I down load the generated uImage, It > does not work. > > >> -Scott >> > > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: Ping does not work on my MPC8544 board, using linux2.6.23
2009/12/8 林志平 : > > 2009/12/8 Scott Wood >> >> On Mon, Dec 07, 2009 at 11:53:22AM +0800, 林志平 wrote: >> > Does dtc1.2.0 can compile dts files under linux2.6.23? >> >> Probably not -- 2.6.23 is very old, and I think newer dtcs only support >> the >> newer dts syntax. >> >> > Another question is that I found linux2.6.31 does not support >> > board mpc8544ds, >> >> It should. What problems do you see? > > => bootm 0x100 0x180 0x80 > ## Booting kernel from Legacy Image at 0100 ... > Image Name: Linux-2.6.31 > Image Type: PowerPC Linux Kernel Image (gzip compressed) > Data Size: 2185099 Bytes = 2.1 MB > Load Address: > Entry Point: > Verifying Checksum ... OK > ## Loading init Ramdisk from Legacy Image at 0180 ... > Image Name: Simple Embedded Linux Framework > Image Type: PowerPC Linux RAMDisk Image (gzip compressed) > Data Size: 1859256 Bytes = 1.8 MB > Load Address: > Entry Point: > Verifying Checksum ... OK > ## Flattened Device Tree blob at 0080 > Booting using the fdt blob at 0x80 > Uncompressing Kernel Image ... OK > Loading Ramdisk to 1fca7000, end 1fe6ceb8 ... OK > booting kernel using flat tree > It then stops and never print any more, I use mpc85xx_defconfig, I select > mpc85xxds in the menuconfig and deselect other options like mpc8540ads etc. >> Try to change "link_address='0x40'" tp "link_address='0x80'" in arch/powerpc/boot/wrapper. If you have result, remember to give me a feedback. >> > And I never boot linux-2.6.31 on my board, why linux-2.6.31 doesnot >> > provide a config file like mpc8544_ds_defconfig? >> >> Does mpc85xx_defconfig not work? > > Yes mcp85xx_defconfig does not work, I can see mpc8540ads in the menuconfig, > but no mpc8544ds. And when I down load the generated uImage, It does not > work. > >> >> -Scott > > > ___ > Linuxppc-dev mailing list > Linuxppc-dev@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/linuxppc-dev > -- The simplest is not all best but the best is surely the simplest! ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: Ping does not work on my MPC8544 board, using linux2.6.23
2009/12/8 Scott Wood > On Mon, Dec 07, 2009 at 11:53:22AM +0800, 林志平 wrote: > > Does dtc1.2.0 can compile dts files under linux2.6.23? > > Probably not -- 2.6.23 is very old, and I think newer dtcs only support the > newer dts syntax. > > > Another question is that I found linux2.6.31 does not support > > board mpc8544ds, > > It should. What problems do you see? => bootm 0x100 0x180 0x80 ## Booting kernel from Legacy Image at 0100 ... Image Name: Linux-2.6.31 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:2185099 Bytes = 2.1 MB Load Address: Entry Point: Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 0180 ... Image Name: Simple Embedded Linux Framework Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size:1859256 Bytes = 1.8 MB Load Address: Entry Point: Verifying Checksum ... OK ## Flattened Device Tree blob at 0080 Booting using the fdt blob at 0x80 Uncompressing Kernel Image ... OK Loading Ramdisk to 1fca7000, end 1fe6ceb8 ... OK booting kernel using flat tree It then stops and never print any more, I use mpc85xx_defconfig, I select mpc85xxds in the menuconfig and deselect other options like mpc8540ads etc. > > > And I never boot linux-2.6.31 on my board, why linux-2.6.31 doesnot > > provide a config file like mpc8544_ds_defconfig? > > Does mpc85xx_defconfig not work? > Yes mcp85xx_defconfig does not work, I can see mpc8540ads in the menuconfig, but no mpc8544ds. And when I down load the generated uImage, It does not work. > -Scott > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: Ping does not work on my MPC8544 board, using linux2.6.23
On Mon, Dec 07, 2009 at 11:53:22AM +0800, 林志平 wrote: > Does dtc1.2.0 can compile dts files under linux2.6.23? Probably not -- 2.6.23 is very old, and I think newer dtcs only support the newer dts syntax. > Another question is that I found linux2.6.31 does not support > board mpc8544ds, It should. What problems do you see? > And I never boot linux-2.6.31 on my board, why linux-2.6.31 doesnot > provide a config file like mpc8544_ds_defconfig? Does mpc85xx_defconfig not work? -Scott ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
RE: Ping does not work on my MPC8544 board, using linux2.6.23
>Subject: Ping does not work on my MPC8544 board, using linux2.6.23 > >why linux-2.6.31 doesnot provide a config file like >mpc8544_ds_defconfig? Because it is covered by common defconfig mpc85xx_defconfig. - Leo ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev