Bugzilla – Bug 6945
SB Controller fails to boot after firmware upgrade
Last modified: 2009-09-08 09:30:35 UTC
Ross L upgraded his Jive controller with a firmware nightly from Feb 1 2008. After he did that, the Jive would no longer successfully boot. It appears to try to boot and then powers itself down. You then have to hold down the home key to power it back on. Ross didn't watch the screen to see whether the upgrade finished successfully or not -- he just started the upgrade and kept on doing other stuff. The controller had at least been able to successfully upgrade and downgrade - perhaps 20 times beforehand, and maybe more. Here's the trace from the serial output. I'll hold onto the unit in case anyone wants me to try something else. U-Boot 1.0.0 (Dec 11 2007 - 17:01:13) U-Boot code: 33E00000 -> 33E1D3E0 BSS: -> 33E2101C IRQ Stack: 33e42018 FIQ Stack: 33e43018 DRAM Configuration: Bank #0: 30000000 64 MB NAND:Nand Flash Probe... Nand Flash Configuration: Page Size :512 Bytes Oob Size :16 Bytes Block Size :16 KB In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 zImage magic = 0x016f2818 NOW, Booting Linux...... Uncompressing Linux...................................................................................... done, booting the kernel. Linux version 2.6.22-P7 (root@padbuild) (gcc version 4.2.2) #16 Fri Feb 1 15:43:10 PST 2008 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 Machine: JIVE Memory policy: ECC disabled, Data cache writeback CPU S3C2412 (id 0x32412003) S3C2412: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz S3C24XX Clocks, (c) 2004 Simtec Electronics usysclk: parent urefclk i2sclk: parent erefclk camif-upll: parent usysclk msysclk: parent mpll uartclk: parent erefclk usbsrc: parent usysclk S3C2412: DVS is off Warning: USB bus clock not at 48MHz S3C2412: upll on, 96.000 MHz, usb-bus 48.000 MHz CPU0: D VIVT write-back cache CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Built 1 zonelists. Total pages: 16256 Kernel command line: root=/dev/mtdblock1 console=ttySAC0,115200 mem=64M init=/linuxrc mtdset=0 irq: clearing pending ext status 00080b00 irq: clearing pending ext status 00000b00 irq: clearing subpending status 00000012 PID hash table entries: 256 (order: 8, 1024 bytes) timer tcon=0050d000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8 Console: colour dummy device 80x30 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 64MB = 64MB total Memory: 62080KB available (2388K code, 263K data, 156K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 S3C2410 Power Management, (c) 2004 Simtec Electronics S3C2412: Initialising architecture S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics DMA channel 0 at c4800000, irq 33 DMA channel 1 at c4800040, irq 34 DMA channel 2 at c4800080, irq 35 DMA channel 3 at c48000c0, irq 36 S3C24XX CPU Frequency driver: registering c0288bf8 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered NetWinder Floating Point Emulator V0.97 (double precision) Registering mini_fo version $Id$ JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler anticipatory registered (default) Console: switching to colour frame buffer device 30x40 fb0: s3c2410fb frame buffer device S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics jive_mgmt_init input: Switch as /class/input/input0 input: Wheel as /class/input/input1 input: Matrix as /class/input/input2 wake enabled for irq 19 wake enabled for irq 48 wake enabled for irq 49 wake enabled for irq 50 wake enabled for irq 51 matrix_init: GPFCON=00000015 s3c2412-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2412 s3c2412-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2412 s3c2412-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2412 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: module loaded CPUFreq test machine is not smdk2412 S3C24XX NAND Driver, (c) 2004 Simtec Electronics s3c2412-nand s3c2412-nand: Tacls=4, 40ns Twrph0=6 60ns, Twrph1=5 50ns s3c2412-nand s3c2412-nand: System booted from NAND NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 523 at 0x0082c000 Bad eraseblock 686 at 0x00ab8000 Bad eraseblock 2314 at 0x02428000 Bad eraseblock 3320 at 0x033e0000 Creating 6 MTD partitions on "NAND 64MiB 3,3V 8-bit": 0x00030000-0x00200000 : "kernel (ro)" 0x00200000-0x01600000 : "root (ro)" 0x02c00000-0x04000000 : "yaffs" 0x00028000-0x00030000 : "env" 0x01600000-0x017d0000 : "zimage" 0x017d0000-0x02bd0000 : "cramfs" s3c24xx-spi-gpio s3c24xx-spi-gpio.1: registering c02893a0: VGG2432A4 VGG2432A4 spi0.0: initialising VGG2432A4 s3c24xx-spi-gpio s3c24xx-spi-gpio.2: registering c02893cc: WM8750 s3c2410_udc: debugfs dir creation failed -19 ether gadget: using random self ethernet address ether gadget: using random host ethernet address usb0: Ethernet Gadget, version: May Day 2005 usb0: using s3c2410_udc, OUT ep2-bulk IN ep1-bulk STATUS ep3-bulk usb0: MAC 56:30:cc:f8:6b:43 usb0: HOST MAC f6:48:ef:9c:a5:79 usb0: RNDIS ready mice: PS/2 mouse device common for all mice S3C24XX RTC, (c) 2004,2006 Simtec Electronics s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0 i2c /dev entries driver s3c2410-i2c s3c2410-i2c: slave address 0x00 s3c2410-i2c s3c2410-i2c: bus frequency set to 48 KHz s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter lis302dl 0-001c: LIS302DL, IRQ 58 input: lis302dl as /class/input/input3 s3c2412-sdi s3c2412-sdi: host detect has no irq available mapped channel 0 to 0 s3c2412-sdi s3c2412-sdi: powered down. s3c2412-sdi s3c2412-sdi: initialisation done. s3c2412-sdi s3c2412-sdi: running at 0kHz (requested: 0kHz). s3c2412-sdi s3c2412-sdi: running at 196kHz (requested: 195kHz). s3c2412-sdi s3c2412-sdi: running at 196kHz (requested: 195kHz). s3c2412-sdi s3c2412-sdi: running at 196kHz (requested: 195kHz). Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC). ASoC version 0.13.1 JIVE WM8750 Audio support DMA: OUT=55000010, IN=55000014 GPECON=aaaaaaaa soc-audio soc-audio: RXEN: Invalid MODE in IISMOD WM8750: WM8750 Audio Codec 0.12 WM8750 spi2.0: probing device asoc: WM8750 <-> s3c2412-i2s mapping ok s3c2412-sdi s3c2412-sdi: powered down. mapping Headphone Jack => LOUT1 mapping Headphone Jack => ROUT1 mapping Internal Speaker => LOUT2 mapping Internal Speaker => ROUT2 mapping LINPUT1 => Line Input mapping RINPUT1 => Line Input WM8750 spi2.0: CODEC initialised driver_bound: device spi2.0 already bound ALSA device list: #0: Jive (WM8750) oprofile: using timer interrupt. TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 s3c24xx_cpufreq_init: initialising s3c24xx_cpufreq_init: clocks f=200000,h=100000,p=50000,a=200000 s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time Power down. powe NOTE: trace ends with "powe" above.
This is the low-battery kernel shutdown mechanism kicking in. This is a big problem for David's factory tests, it needs to be able to run under power without a battery. We need to detect that there's no battery in the device (as opposed to a low battery) and continue working OR roll back this change for 7.0.
Fixed in r1814 to always boot when AC power is available.
This bug has recently been fixed in the latest release of SqueezeCenter 7.0.1 Please try that version, if you still see the error, then reopen this bug. To download this version, please navigate to: http://www.slimdevices.com/su_downloads.html