Re: HEAD unbootable on 2430SDP
This problem was fixed by the patch in email: [PATCH] OMAP2xxx: move SRAM to fix boot hang I thought the 0xD800 -> 0x4020 in MMU tables looked a bit odd. :) Thanks, - Juha On Tue, Oct 7, 2008 at 5:57 PM, Juha Kuikka <[EMAIL PROTECTED]> wrote: > On Mon, Oct 6, 2008 at 5:08 PM, Juha Kuikka <[EMAIL PROTECTED]> wrote: >> >> On Mon, Oct 6, 2008 at 4:46 PM, Woodruff, Richard <[EMAIL PROTECTED]> wrote: >> > >> > >> >> I am running into a weird problem with the current HEAD on OMAP2430SDP. >> >> >> >> It seems the execution goes into infinite loop in intc_bank_read_reg() >> >> function. >> >> >> >> In the: >> >> while (!(intc_bank_read_reg(bank, INTC_SYSSTATUS) & 0x1)) >> >> /* Wait for reset to complete */; >> > >> > Did your board boot loader setup the peripheral port remap register? >> >> I'm using the u-boot snapshot from >> http://linux.omap.com/pub/bootloader/2430sdp/source/u-boot-Sept2507.tar.gz. >> >> And it seems to map it. >> > > I might also add that the kernel at > http://linux.omap.com/pub/kernel/2430sdp/source/linux-2.6.14-omap2-v5.tgz > boots without this issue. > > - Juha > -- > Madness takes it's toll. Please have exact change. > -- Madness takes it's toll. Please have exact change. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: HEAD unbootable on 2430SDP
On Mon, Oct 6, 2008 at 5:08 PM, Juha Kuikka <[EMAIL PROTECTED]> wrote: > > On Mon, Oct 6, 2008 at 4:46 PM, Woodruff, Richard <[EMAIL PROTECTED]> wrote: > > > > > >> I am running into a weird problem with the current HEAD on OMAP2430SDP. > >> > >> It seems the execution goes into infinite loop in intc_bank_read_reg() > >> function. > >> > >> In the: > >> while (!(intc_bank_read_reg(bank, INTC_SYSSTATUS) & 0x1)) > >> /* Wait for reset to complete */; > > > > Did your board boot loader setup the peripheral port remap register? > > I'm using the u-boot snapshot from > http://linux.omap.com/pub/bootloader/2430sdp/source/u-boot-Sept2507.tar.gz. > > And it seems to map it. > I might also add that the kernel at http://linux.omap.com/pub/kernel/2430sdp/source/linux-2.6.14-omap2-v5.tgz boots without this issue. - Juha -- Madness takes it's toll. Please have exact change. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: HEAD unbootable on 2430SDP
On Mon, Oct 6, 2008 at 4:46 PM, Woodruff, Richard <[EMAIL PROTECTED]> wrote: > > >> I am running into a weird problem with the current HEAD on OMAP2430SDP. >> >> It seems the execution goes into infinite loop in intc_bank_read_reg() >> function. >> >> In the: >> while (!(intc_bank_read_reg(bank, INTC_SYSSTATUS) & 0x1)) >> /* Wait for reset to complete */; > > Did your board boot loader setup the peripheral port remap register? I'm using the u-boot snapshot from http://linux.omap.com/pub/bootloader/2430sdp/source/u-boot-Sept2507.tar.gz. And it seems to map it. - Juha -- Madness takes it's toll. Please have exact change. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: HEAD unbootable on 2430SDP
> I am running into a weird problem with the current HEAD on OMAP2430SDP. > > It seems the execution goes into infinite loop in intc_bank_read_reg() > function. > > In the: > while (!(intc_bank_read_reg(bank, INTC_SYSSTATUS) & 0x1)) > /* Wait for reset to complete */; Did your board boot loader setup the peripheral port remap register? If not you must make sure the INTC is mapped to non-shared-device mapping else you won't be seeing the INTC registers properly. Using the remap register works, but if you inspect TLBs you'll see it uses all 4k'ers instead of a single 1M section entry for L4 range. This will cut performance some. In a local hack a while back we had used some reserved L4 space to provide a separate mapping for the INTC with non-shared-device mapping. If you do this you can shut down the remap register. Probably most people are not appreciating benefit of that setup. Regards, Richard W. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
HEAD unbootable on 2430SDP
Hi, I am running into a weird problem with the current HEAD on OMAP2430SDP. It seems the execution goes into infinite loop in intc_bank_read_reg() function. In the: while (!(intc_bank_read_reg(bank, INTC_SYSSTATUS) & 0x1)) /* Wait for reset to complete */; to be specific. It seems that the address in bank->base_reg does not point to a virtual address that is mapped to the INTC registers. I'm using the omap_2430sdp_defconfig with CONFIG_GPIO_TWL4030 added. Toolchain I used is: gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126) Before digging deeper I was wondering if anyone else sees this? -- Madness takes it's toll. Please have exact change. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html