![Tony Lindgren](/assets/img/avatar_default.png)
Commita66cb3454f
(ARM: OMAP: Map SRAM later on with ioremap_exec()) moved the SRAM init to happen later to remove a dependency to early SoC detection for map_io. This broke booting on some boards not using Kconfig option for OMAP_CLOCKS_SET_BY_BOOTLOADER as the dpll1 reprogramming would cause the following error: kernel BUG at arch/arm/plat-omap/sram.c:226! Internal error: Oops - undefined instruction: 0 [#1] PREEMPT Modules linked in: CPU: 0 Not tainted (3.2.0-rc1-e3 #9) PC is at omap_sram_reprogram_clock+0x28/0x30 LR is at omap1_select_table_rate+0x88/0xb4 pc : [<c001b0c4>] lr : [<c0019f54>] psr: 600000d3 sp : c035bf10 ip : c035bf20 fp : c035bf1c r10: c035bfd4 r9 : 54029252 r8 : c03f8120 r7 : c0362b50 r6 : 00b71b00 r5 : c03873cc r4 : c0362b40 r3 : 00000000 r2 : c0362b40 r1 : 0000010a r0 : 00002cb0 Flags: nZCv IRQs off FIQs off Mode SVC_32 ISA ARM Segment kernel Control: 0000317f Table: 10004000 DAC: 00000017 Process swapper (pid: 0, stack limit = 0xc035a270) Stack: (0xc035bf10 to 0xc035c000) bf00: c035bf3c c035bf20 c0019f54 c001b0ac bf20: 00001000 00002cb3 00000004 c035ed4c c035bf74 c035bf40 c033ea24 c0019edc bf40: c02f526c 00000002 00000015 bc058c9b 93111a16 c035335c 02000000 c035ed4c bf60: c035ed4c c03f8120 c035bf84 c035bf78 c00194c4 c033e8ec c035bfc4 c035bf88 bf80: c033bc24 c00194a0 c035bf90 c035bf98 00000000 00000000 00000000 00000000 bfa0: 00000001 00000000 c0354678 c035ece4 10004000 103532f4 c035bff4 c035bfc8 bfc0: c0338574 c033b598 00000000 00000000 00000000 c035467c 0000317d c035c03c bfe0: c0354678 c035ece4 00000000 c035bff8 10008040c0338508
00000000 00000000 Backtrace: [<c001b09c>] (omap_sram_reprogram_clock+0x0/0x30) from [<c0019f54>] (omap1_select_table_rate+0x88/0xb4) [<c0019ecc>] (omap1_select_table_rate+0x0/0xb4) from [<c033ea24>] (omap1_clk_init+0x148/0x334) r7:c035ed4c r6:00000004 r5:00002cb3 r4:00001000 [<c033e8dc>] (omap1_clk_init+0x0/0x334) from [<c00194c4>] (omap1_init_early+0x34/0x48) r8:c03f8120 r7:c035ed4c r6:c035ed4c r5:02000000 r4:c035335c [<c0019490>] (omap1_init_early+0x0/0x48) from [<c033bc24>] (setup_arch+0x69c/0x79c) [<c033b588>] (setup_arch+0x0/0x79c) from [<c0338574>] (start_kernel+0x7c/0x2f4) [<c03384f8>] (start_kernel+0x0/0x2f4) from [<10008040>] (0x10008040) r7:c035ece4 r6:c0354678 r5:c035c03c r4:0000317d Code: 0a000002 e1a0e00f e12fff13 e89da800 (e7f001f2) Fix this by adding omap1_clk_late_init() that only reprograms dpll1 if the bootloader rate is less than 60MHz. This also allows removing of the OMAP_CLOCKS_SET_BY_BOOTLOADER option. Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi> Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Tony Lindgren <tony@atomide.com>
286 lines
6.5 KiB
Plaintext
286 lines
6.5 KiB
Plaintext
CONFIG_EXPERIMENTAL=y
|
|
# CONFIG_SWAP is not set
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_POSIX_MQUEUE=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_EXPERT=y
|
|
# CONFIG_KALLSYMS is not set
|
|
# CONFIG_ELF_CORE is not set
|
|
# CONFIG_BASE_FULL is not set
|
|
# CONFIG_SHMEM is not set
|
|
# CONFIG_VM_EVENT_COUNTERS is not set
|
|
CONFIG_SLOB=y
|
|
CONFIG_PROFILING=y
|
|
CONFIG_OPROFILE=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
CONFIG_MODULE_FORCE_UNLOAD=y
|
|
# CONFIG_LBDAF is not set
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
# CONFIG_IOSCHED_DEADLINE is not set
|
|
# CONFIG_IOSCHED_CFQ is not set
|
|
CONFIG_ARCH_OMAP=y
|
|
CONFIG_ARCH_OMAP1=y
|
|
CONFIG_OMAP_RESET_CLOCKS=y
|
|
# CONFIG_OMAP_MUX is not set
|
|
CONFIG_OMAP_MBOX_FWK=y
|
|
CONFIG_OMAP_32K_TIMER=y
|
|
CONFIG_OMAP_DM_TIMER=y
|
|
CONFIG_ARCH_OMAP730=y
|
|
CONFIG_ARCH_OMAP850=y
|
|
CONFIG_ARCH_OMAP16XX=y
|
|
CONFIG_MACH_OMAP_INNOVATOR=y
|
|
CONFIG_MACH_OMAP_H2=y
|
|
CONFIG_MACH_OMAP_H3=y
|
|
CONFIG_MACH_OMAP_HTCWIZARD=y
|
|
CONFIG_MACH_HERALD=y
|
|
CONFIG_MACH_OMAP_OSK=y
|
|
CONFIG_MACH_OMAP_PERSEUS2=y
|
|
CONFIG_MACH_OMAP_FSAMPLE=y
|
|
CONFIG_MACH_VOICEBLUE=y
|
|
CONFIG_MACH_OMAP_PALMTE=y
|
|
CONFIG_MACH_OMAP_PALMZ71=y
|
|
CONFIG_MACH_OMAP_PALMTT=y
|
|
CONFIG_MACH_SX1=y
|
|
CONFIG_MACH_NOKIA770=y
|
|
CONFIG_MACH_AMS_DELTA=y
|
|
CONFIG_MACH_OMAP_GENERIC=y
|
|
CONFIG_OMAP_ARM_216MHZ=y
|
|
CONFIG_OMAP_ARM_195MHZ=y
|
|
CONFIG_OMAP_ARM_192MHZ=y
|
|
CONFIG_OMAP_ARM_182MHZ=y
|
|
CONFIG_OMAP_ARM_168MHZ=y
|
|
# CONFIG_OMAP_ARM_60MHZ is not set
|
|
# CONFIG_ARM_THUMB is not set
|
|
CONFIG_PCCARD=y
|
|
CONFIG_OMAP_CF=y
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_PREEMPT=y
|
|
CONFIG_AEABI=y
|
|
CONFIG_LEDS=y
|
|
CONFIG_LEDS_CPU=y
|
|
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
CONFIG_CMDLINE="root=1f03 rootfstype=jffs2"
|
|
CONFIG_FPE_NWFPE=y
|
|
CONFIG_BINFMT_MISC=y
|
|
CONFIG_PM=y
|
|
# CONFIG_SUSPEND is not set
|
|
CONFIG_PM_RUNTIME=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_NET_KEY=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_DHCP=y
|
|
CONFIG_IP_PNP_BOOTP=y
|
|
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
# CONFIG_INET_LRO is not set
|
|
# CONFIG_INET_DIAG is not set
|
|
CONFIG_IPV6=y
|
|
CONFIG_NETFILTER=y
|
|
CONFIG_BT=y
|
|
CONFIG_BT_L2CAP=y
|
|
CONFIG_BT_SCO=y
|
|
CONFIG_BT_RFCOMM=y
|
|
CONFIG_BT_RFCOMM_TTY=y
|
|
CONFIG_BT_BNEP=y
|
|
CONFIG_BT_HIDP=y
|
|
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
# CONFIG_STANDALONE is not set
|
|
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
|
CONFIG_CONNECTOR=y
|
|
# CONFIG_PROC_EVENTS is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_DEBUG=y
|
|
CONFIG_MTD_DEBUG_VERBOSE=3
|
|
CONFIG_MTD_PARTITIONS=y
|
|
CONFIG_MTD_CMDLINE_PARTS=y
|
|
CONFIG_MTD_CHAR=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_MTD_CFI=y
|
|
CONFIG_MTD_CFI_INTELEXT=y
|
|
CONFIG_MTD_NAND=y
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_BLK_DEV_RAM_COUNT=2
|
|
CONFIG_BLK_DEV_RAM_SIZE=8192
|
|
CONFIG_IDE=m
|
|
CONFIG_BLK_DEV_IDECS=m
|
|
CONFIG_SCSI=y
|
|
# CONFIG_SCSI_PROC_FS is not set
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_CHR_DEV_ST=y
|
|
CONFIG_BLK_DEV_SR=y
|
|
CONFIG_CHR_DEV_SG=y
|
|
CONFIG_SCSI_MULTI_LUN=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_TUN=y
|
|
CONFIG_PHYLIB=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_SMC91X=y
|
|
CONFIG_USB_CATC=y
|
|
CONFIG_USB_KAWETH=y
|
|
CONFIG_USB_PEGASUS=y
|
|
CONFIG_USB_RTL8150=y
|
|
CONFIG_USB_USBNET=y
|
|
# CONFIG_USB_NET_AX8817X is not set
|
|
# CONFIG_USB_NET_CDC_SUBSET is not set
|
|
CONFIG_PPP=y
|
|
CONFIG_PPP_MULTILINK=y
|
|
CONFIG_PPP_FILTER=y
|
|
CONFIG_PPP_ASYNC=y
|
|
CONFIG_PPP_DEFLATE=y
|
|
CONFIG_PPP_BSDCOMP=y
|
|
CONFIG_SLIP=y
|
|
CONFIG_SLIP_COMPRESSED=y
|
|
# CONFIG_INPUT_MOUSEDEV is not set
|
|
CONFIG_INPUT_EVDEV=y
|
|
CONFIG_INPUT_EVBUG=y
|
|
# CONFIG_INPUT_KEYBOARD is not set
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
CONFIG_INPUT_TOUCHSCREEN=y
|
|
CONFIG_TOUCHSCREEN_ADS7846=y
|
|
CONFIG_INPUT_MISC=y
|
|
CONFIG_INPUT_UINPUT=y
|
|
# CONFIG_SERIO is not set
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_8250_NR_UARTS=3
|
|
CONFIG_SERIAL_8250_RUNTIME_UARTS=3
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
CONFIG_HW_RANDOM=y
|
|
CONFIG_I2C=y
|
|
CONFIG_I2C_CHARDEV=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_OMAP_UWIRE=y
|
|
# CONFIG_HWMON is not set
|
|
CONFIG_WATCHDOG=y
|
|
CONFIG_WATCHDOG_NOWAYOUT=y
|
|
CONFIG_OMAP_WATCHDOG=y
|
|
CONFIG_VIDEO_OUTPUT_CONTROL=y
|
|
CONFIG_FB=y
|
|
CONFIG_FIRMWARE_EDID=y
|
|
CONFIG_FB_MODE_HELPERS=y
|
|
CONFIG_FB_VIRTUAL=y
|
|
CONFIG_FB_OMAP=y
|
|
CONFIG_FB_OMAP_LCDC_EXTERNAL=y
|
|
CONFIG_FB_OMAP_LCDC_HWA742=y
|
|
CONFIG_FB_OMAP_MANUAL_UPDATE=y
|
|
CONFIG_FB_OMAP_LCD_MIPID=y
|
|
CONFIG_FB_OMAP_BOOTLOADER_INIT=y
|
|
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
|
CONFIG_LCD_CLASS_DEVICE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
|
|
CONFIG_FONTS=y
|
|
CONFIG_FONT_8x8=y
|
|
CONFIG_FONT_8x16=y
|
|
CONFIG_FONT_6x11=y
|
|
CONFIG_FONT_MINI_4x6=y
|
|
CONFIG_LOGO=y
|
|
# CONFIG_LOGO_LINUX_MONO is not set
|
|
# CONFIG_LOGO_LINUX_VGA16 is not set
|
|
CONFIG_SOUND=y
|
|
CONFIG_SND=y
|
|
CONFIG_SND_MIXER_OSS=y
|
|
CONFIG_SND_PCM_OSS=y
|
|
# CONFIG_SND_SUPPORT_OLD_API is not set
|
|
# CONFIG_SND_VERBOSE_PROCFS is not set
|
|
CONFIG_SND_DUMMY=y
|
|
CONFIG_SND_USB_AUDIO=y
|
|
CONFIG_SND_SOC=y
|
|
CONFIG_SND_OMAP_SOC=y
|
|
# CONFIG_USB_HID is not set
|
|
CONFIG_USB=y
|
|
CONFIG_USB_DEBUG=y
|
|
CONFIG_USB_DEVICEFS=y
|
|
# CONFIG_USB_DEVICE_CLASS is not set
|
|
CONFIG_USB_SUSPEND=y
|
|
CONFIG_USB_MON=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_STORAGE_DATAFAB=y
|
|
CONFIG_USB_STORAGE_FREECOM=y
|
|
CONFIG_USB_STORAGE_SDDR09=y
|
|
CONFIG_USB_STORAGE_SDDR55=y
|
|
CONFIG_USB_STORAGE_JUMPSHOT=y
|
|
CONFIG_USB_SERIAL=y
|
|
CONFIG_USB_SERIAL_CONSOLE=y
|
|
CONFIG_USB_SERIAL_PL2303=y
|
|
CONFIG_USB_TEST=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_ETH=m
|
|
# CONFIG_USB_ETH_RNDIS is not set
|
|
CONFIG_USB_FILE_STORAGE=m
|
|
CONFIG_USB_FILE_STORAGE_TEST=y
|
|
CONFIG_MMC=y
|
|
CONFIG_MMC_SDHCI=y
|
|
CONFIG_MMC_SDHCI_PLTFM=y
|
|
CONFIG_MMC_OMAP=y
|
|
CONFIG_NEW_LEDS=y
|
|
CONFIG_LEDS_CLASS=y
|
|
CONFIG_LEDS_TRIGGERS=y
|
|
CONFIG_LEDS_TRIGGER_TIMER=y
|
|
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
|
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_DRV_OMAP=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT3_FS=y
|
|
# CONFIG_DNOTIFY is not set
|
|
CONFIG_AUTOFS4_FS=y
|
|
CONFIG_ISO9660_FS=y
|
|
CONFIG_JOLIET=y
|
|
CONFIG_MSDOS_FS=y
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_FAT_DEFAULT_CODEPAGE=866
|
|
CONFIG_FAT_DEFAULT_IOCHARSET="koi8-r"
|
|
CONFIG_JFFS2_FS=y
|
|
CONFIG_JFFS2_SUMMARY=y
|
|
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
|
CONFIG_CRAMFS=y
|
|
CONFIG_ROMFS_FS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_NFS_V4=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_PARTITION_ADVANCED=y
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_CODEPAGE_850=y
|
|
CONFIG_NLS_CODEPAGE_852=y
|
|
CONFIG_NLS_CODEPAGE_866=y
|
|
CONFIG_NLS_CODEPAGE_1251=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_NLS_ISO8859_2=y
|
|
CONFIG_NLS_ISO8859_5=y
|
|
CONFIG_NLS_ISO8859_15=y
|
|
CONFIG_NLS_KOI8_R=y
|
|
CONFIG_NLS_UTF8=y
|
|
# CONFIG_ENABLE_MUST_CHECK is not set
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
CONFIG_DEBUG_SPINLOCK=y
|
|
CONFIG_DEBUG_MUTEXES=y
|
|
# CONFIG_DEBUG_BUGVERBOSE is not set
|
|
CONFIG_DEBUG_INFO=y
|
|
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
|
CONFIG_DEBUG_USER=y
|
|
CONFIG_DEBUG_ERRORS=y
|
|
CONFIG_SECURITY=y
|
|
CONFIG_CRYPTO_ECB=y
|
|
CONFIG_CRYPTO_PCBC=y
|
|
CONFIG_CRYPTO_DEFLATE=y
|
|
CONFIG_CRYPTO_ZLIB=y
|
|
CONFIG_CRYPTO_LZO=y
|
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
|
CONFIG_LIBCRC32C=y
|