Re: [OpenWrt-Devel] Freescale P1020 WLAN support?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, On 10/16/2012 08:03 PM, John Clark wrote: Thanks for the URL. I fixed up my code set. which allows for building a kernel and ramdisk. However, a couple of items. 1) the build process always seems to ask about a WATCHDOG timer driver. If you dont need a watchdog, you need to disable the drive.r 2) The built kernel crashes right after processing the initramfs image. Sry i forget to give you these two bash lines. You need to run them in the trunk directory. ./build_dir/host/u-boot-2011.12/tools/mkimage -A ppc -O linux -T ramdisk - -C none -a 0x2d00 -e 0x2d00 -d ./bin/mpc85xx/openwrt-mpc85xx-rootfs.cpio.gz /[path]/[to]/[somewhere]/openwrt-mpc85xx-rootfs-uImage cp -vf ./bin/mpc85xx/openwrt-mpc85xx-rootfs.cpio.gz /[path]/[to]/[somewhere]/openwrt-mpc85xx-rootfs-initrd These are the commands to flash the uboot over TFTP an boot the image. U-Boot Bootloader In most cases when you download an image over TFTP you the the filesize in HEX in the variable: $filesize For the most updates, you dont need to change the FDT file. === Boot over TFTP === * setenv gatewayip 10.26.254.16 * setenv netmask 255.255.0.0 * setenv ipaddr 10.26.1.6 * setenv serverip 10.26.254.16 * setenv fdtfile stage1/openwrt-mpc85xx-p1020wlan.fdt * setenv bootfile stage1/openwrt-mpc85xx-uImage * setenv initfile stage1/openwrt-mpc85xx-rootfs-uImage * setenv fdtaddr 0c0 * setenv loadaddr 100 * setenv initaddr 200 * tftp $fdtaddr $fdtfile; * tftp $loadaddr $bootfile; * tftp $initaddr $initfile * setenv bootargs rw console=$consoledev,$baudrate $otherbootargs * bootm $loadaddr $initaddr $fdtaddr === Flash over TFTP: with Initramfs === * bdinfo - flashstart * kernel = flashstart + 0x0 + 0x0040= 0xEC00 * initfile: flashstart + 0x0040 + 0x01b0 * fdt: ab 0x0eff4 * setenv fdtfile stage1/openwrt-mpc85xx-p1020wlan.fdt * setenv bootfile stage1/openwrt-mpc85xx-uImage * setenv initfile stage1/openwrt-mpc85xx-rootfs-uImage * protect off all * tftp $loadaddr $bootfile; * erase 0xEC00 +040 * cp.b $loadaddr 0xEC00 Hex length of the image * tftp $initaddr $initfile * erase 0xEC40 +0x01b0 * cp.b $loadaddr 0xEC40 Hex length of the image * tftp $fdtaddr $fdtfile; * erase eff4 + Hex length of the image * cp.b $fdtaddr eff4 Hex length of the image * setenv bootargs rw console=$consoledev,$baudrate $otherbootargs * bootm 0xEC00 0xEC40 eff4 === Flash over TFTP: with Jffs2 === * bdinfo - flashstart * kernel = flashstart + 0x0 = 0xEC00 * length: 0x40 * jffs2 = flashstart + X = 0xEE40 , Länge 0x01b0 * fdt: flash start addr: 0x0eff4 * setenv fdtfile stage1/openwrt-mpc85xx-p1020wlan.fdt * setenv bootfile stage1/openwrt-mpc85xx-uImage * setenv initfile stage1/root.jffs2-128k * protect off all * tftp $loadaddr $bootfile; * erase 0xEC00 +040 * cp.b $loadaddr 0xEC00 Hex length of the image * tftp $initaddr $initfile * erase 0xEE40 +0x01b0 * cp.b $initaddr 0xEE40 Hex length of the image * tftp $fdtaddr $fdtfile; * erase eff4 + Hex length of the image * cp.b $fdtaddr eff4 Hex length of the image * setenv bootargs rw console=$consoledev,$baudrate $otherbootargs rootfstype=jffs2 * bootm 0xEC00 - eff4 === Boot from Image === * setenv bootdelay 3 * setenv hostname femap1_X * setenv bootcmd bootm 0xEC00 0xEC40 eff4 * saveenv Greetings, Rainer S. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREIAAYFAlB9sdQACgkQsD/BjTdkA1dZBwD8Ch53lSwtdOJmP/x/6bfL8Fjd gCnKl285G01QL1tg+ZMA/1p0wKi8Yi76CxjYfAqyY+4nWaEbLzuxMoJ33ndtt3uT =MOgn -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Freescale P1020 WLAN support?
Bit of follow up for this issue. By tracking down the function that caused the crash, it was in 'crashlog_init_fs'. This function uses and 'address' that seem to be initialized if the config symbol: CONFIG_NO_BOOTMEM is NOT defined... Apparently it is defined, and the crashlog_addr variable apparently is used with an initialization of 0... By deselecting 'crash log' kernel config option, that allowed the kernel to boot to a command line prompt. John Clark. On Oct 16, 2012, at 11:03 AM, John Clark wrote: On Oct 15, 2012, at 8:32 AM, Rainer 'Rei' Schuth wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi On 10/13/2012 12:21 AM, John Clark wrote: I have been looking and eventually found some set of patches which I have been using that were posted in March. However, what was not clear from the various posts at that time was the following: 1) what SVN revision of OpenWRT that was used. 2) whether anyone has done any further work. We have been using the patches since March. You can find working patches under [0]. Thanks for the URL. I fixed up my code set. which allows for building a kernel and ramdisk. However, a couple of items. 1) the build process always seems to ask about a WATCHDOG timer driver. 2) The built kernel crashes right after processing the initramfs image. I have built a working Linux-3.6 kernel with the LTIB environment, so I'll be looking at differences there. But if anyone has seen this sort of problem and has a fix/hint I'd appreciate it. Thanks, John Clark. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Freescale P1020 WLAN support?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi On 10/13/2012 12:21 AM, John Clark wrote: I have been looking and eventually found some set of patches which I have been using that were posted in March. However, what was not clear from the various posts at that time was the following: 1) what SVN revision of OpenWRT that was used. 2) whether anyone has done any further work. We have been using the patches since March. You can find working patches under [0]. I hope it works also for you. Rainer Schuth [0] http://git.fem.tu-ilmenau.de/?p=fem-wlan.git;a=tree;f=target/linux/mpc85xx/patches-3.3;hb=968a75becbd35df6430e9f5af889a9abe3281423 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREIAAYFAlB8LG4ACgkQsD/BjTdkA1cRyQEAwAPIMcc694MNYsLmqbTL0HMA CvAX2T2hjwX5ZQcYPyYA/1YKx9wbLiBGB/cr/hvUHmUNA/Ha39ZBJHOyOWJlAMdR =K60w -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Freescale P1020 WLAN support?
John Clark schrieb: I have been looking and eventually found some set of patches which I have been using that were posted in March. However, what was not clear from the various posts at that time was the following: 1) what SVN revision of OpenWRT that was used. 2) whether anyone has done any further work. I found a reference to rev. 31088, which seem sort of close, but then I have also tried using rev 31152 (which is about a day after the March 29 Patch posting.). In both cases some set of things break, with 'hunks' of patches being rejected. The two files that 'break' the given set of patches are: 110-fix_mpc8548_cds.patch 100-fix_mpc8568e_mds.patch Please provide full error log. From what I could see, the patch should apply without issues on those two files. Anyone have some information I'd appreciated it, John Clark. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Freescale P1020 WLAN support?
I have been looking and eventually found some set of patches which I have been using that were posted in March. However, what was not clear from the various posts at that time was the following: 1) what SVN revision of OpenWRT that was used. 2) whether anyone has done any further work. I found a reference to rev. 31088, which seem sort of close, but then I have also tried using rev 31152 (which is about a day after the March 29 Patch posting.). In both cases some set of things break, with 'hunks' of patches being rejected. The two files that 'break' the given set of patches are: 110-fix_mpc8548_cds.patch 100-fix_mpc8568e_mds.patch Anyone have some information I'd appreciated it, John Clark. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Freescale P1020 WLAN support
Hi, is there currently anybody working on OpenWRT P1020-WLAN (Freescale) support? It is because we at the FeM e.V. are working on it trying to port the freescale patches forward and would like to join forces with anybody already working on it. Regards, M. Braun -- http://www.fem.tu-ilmenau.de/ ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Freescale P1020 WLAN support
Hello, I have once got p1020 running with openwrt. It should basically work without any specific target patches. I had to only adapt image building script. I will give it a try with 3.3 kernel and let you know. Wojtek PS At the moment I am fighting with p1010 as I get some spurious interrupts on second pcie slot. Maybe somebody has experienced similar problems? - Original Message - Hi, is there currently anybody working on OpenWRT P1020-WLAN (Freescale) support? It is because we at the FeM e.V. are working on it trying to port the freescale patches forward and would like to join forces with anybody already working on it. Regards, M. Braun -- http://www.fem.tu-ilmenau.de/ ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Freescale P1020 WLAN support
I have just tried kernel 3.3 on p1020wlan and it seems to run with empty target patches folder. Only eth0 is working at the moment and most probably dts file has to be adapted slightly for eth1. What kind of other Freescale patches are you planning to port? Wojtek - Original Message - Hello, I have once got p1020 running with openwrt. It should basically work without any specific target patches. I had to only adapt image building script. I will give it a try with 3.3 kernel and let you know. Wojtek PS At the moment I am fighting with p1010 as I get some spurious interrupts on second pcie slot. Maybe somebody has experienced similar problems? - Original Message - Hi, is there currently anybody working on OpenWRT P1020-WLAN (Freescale) support? It is because we at the FeM e.V. are working on it trying to port the freescale patches forward and would like to join forces with anybody already working on it. Regards, M. Braun -- http://www.fem.tu-ilmenau.de/ ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel