Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-28 Thread Hauke Mehrtens
On 06/28/2012 06:17 PM, Rafał Miłecki wrote: > 2012/6/28 Rafał Miłecki : >> 2012/6/28 Hauke Mehrtens : >>> On 06/27/2012 10:14 PM, Rafał Miłecki wrote: 2012/6/27 Hauke Mehrtens : > On 06/27/2012 12:21 PM, Rafał Miłecki wrote: >> Is there any open driver available for this controller? G

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-28 Thread Rafał Miłecki
2012/6/28 Rafał Miłecki : > 2012/6/28 Hauke Mehrtens : >> On 06/27/2012 10:14 PM, Rafał Miłecki wrote: >>> 2012/6/27 Hauke Mehrtens : On 06/27/2012 12:21 PM, Rafał Miłecki wrote: > Is there any open driver available for this controller? GPL license? > Or some different? We ha

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-28 Thread Rafał Miłecki
2012/6/28 Hauke Mehrtens : > On 06/27/2012 10:14 PM, Rafał Miłecki wrote: >> 2012/6/27 Hauke Mehrtens : >>> On 06/27/2012 12:21 PM, Rafał Miłecki wrote: Is there any open driver available for this controller? GPL license? Or some different? >>> >>> We have support for the older NAND flash

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-27 Thread Rafał Miłecki
2012/6/27 Florian Fainelli : > Hello Rafal, > > On Wednesday 27 June 2012 09:56:32 Rafał Miłecki wrote: >> GOOD NEWS guys! :) >> >> 1) First of all, WNDR4500's CFE can run lzma compressed vmlinux. You >> can know that for example from earlier-attached official.analyze.txt. >> My analyze of trx head

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-27 Thread Hauke Mehrtens
On 06/27/2012 10:14 PM, Rafał Miłecki wrote: > 2012/6/27 Hauke Mehrtens : >> On 06/27/2012 12:21 PM, Rafał Miłecki wrote: >>> Is there any open driver available for this controller? GPL license? >>> Or some different? >> >> We have support for the older NAND flash controller, but this one is >> dif

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-27 Thread Rafał Miłecki
2012/6/27 Hauke Mehrtens : > On 06/27/2012 12:21 PM, Rafał Miłecki wrote: >> Is there any open driver available for this controller? GPL license? >> Or some different? > > We have support for the older NAND flash controller, but this one is > different. I could try to write the driver but for now t

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-27 Thread Hauke Mehrtens
On 06/27/2012 12:21 PM, Rafał Miłecki wrote: > 2012/6/27 Hauke Mehrtens : >> I will try to find some time today to work on the code reading out the >> clocks of the SoC. > > Thanks. Let me try to summarize WNDR4500 support-lacking things: > > 1) Image generator > The current one isn't working. I

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-27 Thread Rafał Miłecki
2012/6/27 Hauke Mehrtens : > I will try to find some time today to work on the code reading out the > clocks of the SoC. Thanks. Let me try to summarize WNDR4500 support-lacking things: 1) Image generator The current one isn't working. I believe I can fix that. Workaround: use "lzma" from WNDR450

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-27 Thread g . esp
- Mail original - > De: "Rafał Miłecki" > À: "Hauke Mehrtens" > Cc: openwrt-devel@lists.openwrt.org > Envoyé: Mercredi 27 Juin 2012 09:56:32 > Objet: Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at > 0x80001000&qu

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-27 Thread Hauke Mehrtens
On 06/27/2012 10:22 AM, Florian Fainelli wrote: > Hello Rafal, > > On Wednesday 27 June 2012 09:56:32 Rafał Miłecki wrote: >> GOOD NEWS guys! :) >> >> 1) First of all, WNDR4500's CFE can run lzma compressed vmlinux. You >> can know that for example from earlier-attached official.analyze.txt. >> My

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-27 Thread Florian Fainelli
Hello Rafal, On Wednesday 27 June 2012 09:56:32 Rafał Miłecki wrote: > GOOD NEWS guys! :) > > 1) First of all, WNDR4500's CFE can run lzma compressed vmlinux. You > can know that for example from earlier-attached official.analyze.txt. > My analyze of trx header has shown there are only 2 images.

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-27 Thread Rafał Miłecki
GOOD NEWS guys! :) 1) First of all, WNDR4500's CFE can run lzma compressed vmlinux. You can know that for example from earlier-attached official.analyze.txt. My analyze of trx header has shown there are only 2 images. offset0 is 0x1C, offset1 is 0x141a78 and offset2 is ZERO (yes!). And as explaine

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-26 Thread Rafał Miłecki
2012/6/26 Rafał Miłecki : > 2012/6/22 Hauke Mehrtens : >> I had never problems with serial console on my bcma based devices >> (bcm4716 and BCM5357). I think you stored the image on the wrong flash >> chip. From the boot log of the original firmware it looks like it has a >> 2MB serial flash and a

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-26 Thread Rafał Miłecki
2012/6/22 Hauke Mehrtens : > On 06/22/2012 02:10 PM, Rafał Miłecki wrote: >> 2012/6/22 Rafał Miłecki : >>> 2012/6/21 Rafał Miłecki : YOU'RE GREAT GUYS boot -tftp -elf 192.168.1.2" :/openwrt-brcm47xx-vmlinux.elf  Loader:elf Filesys:tftp Dev:eth0 File:192.168.1.2:/openwrt-brc

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-22 Thread Hauke Mehrtens
On 06/22/2012 02:10 PM, Rafał Miłecki wrote: > 2012/6/22 Rafał Miłecki : >> 2012/6/21 Rafał Miłecki : >>> YOU'RE GREAT GUYS >>> >>> boot -tftp -elf 192.168.1.2" :/openwrt-brcm47xx-vmlinux.elf >>> Loader:elf Filesys:tftp Dev:eth0 >>> File:192.168.1.2:/openwrt-brcm47xx-vmlinux.elf Options:(null) >>>

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-22 Thread Hauke Mehrtens
On 06/22/2012 09:54 AM, Rafał Miłecki wrote: > 2012/6/21 Hauke Mehrtens : >> There is some part missing in drivers/bcma/driver_chipcommon_pmu.c >> bcma_pmu_get_clockcpu() which is probably needed for this device. > > Yeah. Currently trace is: > bcma_pmu_get_clockcpu > bcma_pmu_get_clockcontrol > b

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-22 Thread Rafał Miłecki
2012/6/22 Rafał Miłecki : > 2012/6/21 Rafał Miłecki : >> YOU'RE GREAT GUYS >> >> boot -tftp -elf 192.168.1.2" :/openwrt-brcm47xx-vmlinux.elf >>  Loader:elf Filesys:tftp Dev:eth0 >> File:192.168.1.2:/openwrt-brcm47xx-vmlinux.elf Options:(null) >>  Loading: 0x80001000/4400228 0x80433464/118060 Entry

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-22 Thread Rafał Miłecki
2012/6/21 Rafał Miłecki : > YOU'RE GREAT GUYS > > boot -tftp -elf 192.168.1.2" :/openwrt-brcm47xx-vmlinux.elf >  Loader:elf Filesys:tftp Dev:eth0 > File:192.168.1.2:/openwrt-brcm47xx-vmlinux.elf Options:(null) >  Loading: 0x80001000/4400228 0x80433464/118060 Entry at 0x80247370 >  Closing network.

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-22 Thread Rafał Miłecki
2012/6/21 Hauke Mehrtens : > There is some part missing in drivers/bcma/driver_chipcommon_pmu.c > bcma_pmu_get_clockcpu() which is probably needed for this device. Yeah. Currently trace is: bcma_pmu_get_clockcpu bcma_pmu_get_clockcontrol bcma_pmu_clock(cc, 12, 1) bcma_chipco_pll_read(cc, 12 + 0) b

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-21 Thread Hauke Mehrtens
On 06/21/2012 12:43 PM, Rafał Miłecki wrote: > 2012/6/21 Hauke Mehrtens : >> You could try top boot a ramdisk from a tftp server from within CFE: >> boot -tftp -elf 192.168.1.220:/brcm47xx/openwrt-brcm47xx-vmlinux.elf >> here 192.168.1.220 is the IP address where the tftp server is running >> and b

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-21 Thread Rafał Miłecki
2012/6/21 Hauke Mehrtens : > You could try top boot a ramdisk from a tftp server from within CFE: > boot -tftp -elf 192.168.1.220:/brcm47xx/openwrt-brcm47xx-vmlinux.elf > here 192.168.1.220 is the IP address where the tftp server is running > and brcm47xx/openwrt-brcm47xx-vmlinux.elf is the patch o

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-21 Thread Hauke Mehrtens
On 06/21/2012 11:26 AM, Florian Fainelli wrote: > On Thursday 21 June 2012 11:19:23 Rafał Miłecki wrote: >> 2012/6/21 Florian Fainelli : >>> On Thursday 21 June 2012 08:53:24 Rafał Miłecki wrote: I've removed target/linux/brcm47xx/patches-3.3/116-MIPS-BCM47xx-Remove- > CFE- >>> console.patch >

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-21 Thread Florian Fainelli
On Thursday 21 June 2012 11:19:23 Rafał Miłecki wrote: > 2012/6/21 Florian Fainelli : > > On Thursday 21 June 2012 08:53:24 Rafał Miłecki wrote: > >> I've removed target/linux/brcm47xx/patches-3.3/116-MIPS-BCM47xx-Remove- CFE- > > console.patch > >> and dropped "depends on arm" from KERNEL_EARLY_PR

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-21 Thread Rafał Miłecki
2012/6/21 Florian Fainelli : > On Thursday 21 June 2012 08:53:24 Rafał Miłecki wrote: >> I've removed target/linux/brcm47xx/patches-3.3/116-MIPS-BCM47xx-Remove-CFE- > console.patch >> and dropped "depends on arm" from KERNEL_EARLY_PRINTK. Did "make >> clean", reconfigured kernel, enabled EARLY and

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-21 Thread Rafał Miłecki
2012/6/21 Florian Fainelli : > On Thursday 21 June 2012 08:53:24 Rafał Miłecki wrote: >> 2012/6/20 Rafał Miłecki : >> > I've compiled OpenWRT from git and generated image for my WNDR4500 with: >> > $(call Image/Build/Chk,$(1),wndr4500,U12H189T00_NETGEAR,1,$(patsubst >> > jffs2-%,jffs2,$(1))) >> > >

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-21 Thread Florian Fainelli
On Thursday 21 June 2012 08:53:24 Rafał Miłecki wrote: > 2012/6/20 Rafał Miłecki : > > I've compiled OpenWRT from git and generated image for my WNDR4500 with: > > $(call Image/Build/Chk,$(1),wndr4500,U12H189T00_NETGEAR,1,$(patsubst > > jffs2-%,jffs2,$(1))) > > > > 1) Official upgrades seem to work

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-20 Thread Rafał Miłecki
2012/6/20 Rafał Miłecki : > I've compiled OpenWRT from git and generated image for my WNDR4500 with: > $(call Image/Build/Chk,$(1),wndr4500,U12H189T00_NETGEAR,1,$(patsubst > jffs2-%,jffs2,$(1))) > > 1) Official upgrades seem to work, I've successfully upgraded 1.0.0.58 > to 1.0.0.103. > > 2) Instal

Re: [OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-20 Thread Rafał Miłecki
2012/6/20 Rafał Miłecki : > I've compiled OpenWRT from git and generated image for my WNDR4500 with: > $(call Image/Build/Chk,$(1),wndr4500,U12H189T00_NETGEAR,1,$(patsubst > jffs2-%,jffs2,$(1))) BasicXP on IRC suggested to build image using region 2 instead of 1. I've tried this and uploaded new i

[OpenWrt-Devel] WNDR4500: OpenWRT freezing at "Starting program at 0x80001000"

2012-06-20 Thread Rafał Miłecki
I've compiled OpenWRT from git and generated image for my WNDR4500 with: $(call Image/Build/Chk,$(1),wndr4500,U12H189T00_NETGEAR,1,$(patsubst jffs2-%,jffs2,$(1))) 1) Official upgrades seem to work, I've successfully upgraded 1.0.0.58 to 1.0.0.103. 2) Installing openwrt-wndr4500-squashfs.chk using