Skip to contentSkip to conversation

Query about arch/arm/boot/compressed/Makefile.debug

DISCUSSION rocky 2 participants 3 messages Jun 3, 2010

lore
Share & tools
lore

rocky

author
#0 lore raw

Hi, all
I'm porting Linux to a ARM1176 based SOC, sometimes after running make zImage, I got CRC error when uncompressing the kernel all the time.

no idea why this should happened, i want to use misc.c with STANDALONE_DEBUG mode, so how should i use this debug mode?

thanks
BR
rocky

#1 lore raw
Quoted 3 lines · rocky

Hi, all
I'm porting Linux to a ARM1176 based SOC, sometimes after running make zImage, I got CRC error when uncompressing the kernel all the time.

Conduct a strict memory checking and check the cache enabling code, normally that's where the problem is. The decompressor itself, should be less problematic since it's working elsewhere on most other platforms.

Quoted 16 lines

no idea why this should happened, i want to use misc.c with STANDALONE_DEBUG mode, so how should i use this debug mode?

thanks
BR
rocky

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author
#2 lore raw

Hi, Eric

Quoted 3 lines

Conduct?a?strict?memory?checking?and?check?the?cache?enabling?code,?normally that's?where?the?problem?is.?The?decompressor?itself,?should?be?less?problematic since?it's?working?elsewhere?on?most?other?platforms.

All ARM1176 based SoC share the same cache enable/disable API which defined in arch/arm/boot/compressed/head.S, ARM1176 falls into ARMv7 .

Actually, our DDR run at 800MHz, I'm trying to tune it a little bit lower at 533MHz to see what happened.

thanks for your kind tips.

rocky

?2010-06-03?13:47:00?"Eric?Miao"?<[email protected]>????>On?Thu,?Jun?3,?2010?at?1:39?PM,?rocky?<[email protected]>?wrote:>>?Hi,?all>>?I'm?porting?Linux?to?a?ARM1176?based?SOC,?sometimes?after?running?make?zImage,>>?I?got?CRC?error?when?uncompressing?the?kernel?all?the?time.>>Conduct?a?strict?memory?checking?and?check?the?cache?enabling?code,?normally>that's?where?the?problem?is.?The?decompressor?itself,?should?be?less?problematic>since?it's?working?elsewhere?on?most?other?platforms.>>>>>?no?idea?why?this?should?happened,?i?want?to?use?misc.c?with?STANDALONE_DEBUG?mode,>>?so?how?should?i?use?this?debug?mode?>>>>>>?thanks>>?BR>>?rocky>>>>>>>>?_______________________________________________>>?linux-arm-kernel?mailing?list>>?linux-arm-kernel at lists.infradead.org>>?http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>>