On Friday 10 June 2011 11:55:47 Sergiy wrote:
> 10.06.2011 12:44, Florian Fainelli пише:
> > Can you elaborate as to why the kernel cannot use this addresse range? Is
> > this a restriction from the SPI bus not being able to transfer buffers
> > which are in the range 0x80200000-0x80220000?
> 
> When kernel starting unpatched, it hangs when cleaning init section.
> Here is kernel log:
> 
> Linux version 2.6.37.6 (tipok@mythbox) (gcc version 4.5.2 (Linaro GCC
> 4.5-2011.02-0) ) #1 Wed May 25 11:51:56 EEST 2011 bootconsole [early0]
> enabled
> CPU revision is: 0001964c (MIPS 24Kc)
> Ralink RT3350   id:1 rev:2 running at 320.00 MHz
> Determined physical RAM map:
>   memory: 01000000 @ 00000000 (usable)
> Initrd not found or empty - disabling initrd
> Zone PFN ranges:
>    Normal   0x00000000 ->  0x00001000
> Movable zone start PFN for each node
> early_node_map[1] active PFN ranges
>      0: 0x00000000 ->  0x00001000
> 
> 
> 
> Yes, this is restriction of SPI bus usage, unfortunaly I don't know
> exactly what happens.

Are you sure about that? There are very little chances the SPI rx/tx buffers 
are being allocated in such a range.

Is not it rather because the bootloader is decompressing the kernel around 
this range, and the memory contents are not correctly flushed?

> But before I found, that this range is not usable for init section, i
> tried to add some noise to kernel, here is my "noise patch":
> https://dev.openwrt.org/attachment/ticket/9461/106-ramips_kernel_start_dirt
> yhack.patch With this patch the kernel also started fine, seems that i'm
> just moved init section outside that "memory hole".
> 
> The Ralink support only says that they fixed it in new processors.
> 
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to