I'm using AM3352 D600ZCZ. At OSC0 of 24MHz, Linux can boot with NAND Flash ubifs smoothly. For some reason, I need change OSC0 from 24MHz to 19.2MHz. I've updated u-boot and Linux kernel (3.2.0 staging). At 19.2MHz, u-boot can find and operate NAND Flash well, and the board can boot into Linux smoothly with nfsboot. but Linux can't detect NAND Flash anymore. Please help! Thank you!
u-boot updates:
--------------------------------------------------
#define V_OSCK 19200000 /* from 24000000 */
Linux updates:
--------------------------------------------------
lizq@Ubuntu10044:~/working/ti/am335x/linux/kernel/current$ svn diff
Index: arch/arm/mach-omap2/clock33xx_data.c
===================================================================
--- arch/arm/mach-omap2/clock33xx_data.c (revision 1662)
+++ arch/arm/mach-omap2/clock33xx_data.c (working copy)
@@ -148,7 +148,7 @@
/* sys_clk_in */
static struct clk sys_clkin_ck = {
.name = "sys_clkin_ck",
- .parent = &virt_24m_ck,
+ .parent = &virt_19_2m_ck,
.init = &omap2_init_clksel_parent,
.clksel_reg = AM33XX_CTRL_REGADDR(0x40), /* CONTROL_STATUS */
.clksel_mask = (0x3 << 22),
Two boot log files are attached for 24MHz and 19.2MHz respectly.