[#4887] watchdog fails to reboot on bf548 ezkit when get killed
Submitted By: Mingquan Pan
Open Date
2009-02-11 02:22:06 Close Date
2009-06-18 04:56:04
Priority:
Medium High Assignee:
Graf Yang
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
4.1 of Jan 16
App binary format:
N/A
Summary: watchdog fails to reboot on bf548 ezkit when get killed
Details:
watchdog fails to reboot on bf548 ezkit when get killed from about Feb 4.
## Booting image at 02000000 ...
Image Name: Linux-2.6.28-ADI-2009R1-pre-svn6
Created: 2009-02-04 23:58:30 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 4862014 Bytes = 4.6 MB
Load Address: 00001000
Entry Point: 002795cc
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 2795cc
Linux version 2.6.28-ADI-2009R1-pre-svn6055 (test@uclinux61-bf548-std) (gcc version 4.1.2 (ADI svn)) #8 Wed Feb 4 23:58:08 GMT 2009
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001aa350
rodata = 0x001aa350-0x002394b4
bss = 0x002394c0-0x0024b56c
data = 0x0024b56c-0x00264000
stack = 0x00262000-0x00264000
init = 0x00264000-0x0092d000
available = 0x0092d000-0x03dff000
DMA Zone = 0x03e00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 1
Reset caused by Software reset
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF548 Rev 0.1
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 15747
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:192.168.0.1:255.255.255.0:bf548-ezkit:eth0:off
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 53508k/65536k RAM, (6948k init code, 1700k kernel code, 744k data, 2048k dma, 584k reserved)
Calibrating delay loop... 1044.48 BogoMIPS (lpj=2088960)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (42 KB free)
Blackfin L2 SRAM: 128 KB (128 KB free)
PDA for CPU0 reserved at 0023ad78
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
ezkit_init(): registering device resources
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, musb-dma, host, debug=0
musb_hdrc: USB Host mode controller at ffc03c00 using DMA, IRQ 82
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
dma_alloc_init: dma_page @ 0x03d94000 - 512 pages at 0x03e00000
hub 1-0:1.0: 1 port detected
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
NET: Registered protocol family 1
msgmni has been set to 104
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bf54x-lq043: FrameBuffer initializing...
bfin-otp: initialized
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART
brd: module loaded
smsc911x: Driver version 2007-07-13.
eth0: SMSC911x MAC Address: 00:e0:22:fe:b8:54
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
register bfin atapi driver
scsi0 : pata-bf54x
ata1: PATA max UDMA/66 irq 68
ata1.00: ATA-6: TOSHIBA MK4032GAX, AD101A, max UDMA/100
ata1.00: 78140160 sectors, multi 16: LBA48
ata1.00: configured for UDMA/66
blk_queue_max_hw_segments: set to minimum 1
scsi 0:0:0:0: Direct-Access ATA TOSHIBA MK4032GA AD10 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI disk
physmap platform flash device: 02000000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
RedBoot partition parsing not available
Using physmap partition information
Creating 3 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "bootloader(nor)"
0x00040000-0x00440000 : "linux kernel(nor)"
0x00440000-0x01000000 : "file system(nor)"
BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.
bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3
NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)
Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x00400000 : "linux kernel(nand)"
0x00400000-0x10000000 : "file system(nand)"
m25p80 spi0.1: m25p16 (2048 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x00000000-0x00040000 : "bootloader(spi)"
0x00040000-0x00200000 : "linux kernel(spi)"
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@4
bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc02300, dma channel@5
input: bf54x-keys as /devices/platform/bf54x-keys/input/input0
bf54x-keys: Blackfin BF54x Keypad registered IRQ 76
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
i2c /dev entries driver
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc00700
i2c-bfin-twi i2c-bfin-twi.1: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc02200
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
hid_zpff: Unknown symbol _input_ff_create_memless
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ASoC version 0.13.2
dma rx:0 tx:1, err irq:10, regs:ffc00800
AD1980 SoC Audio Codec
asoc: AC97 <-> bf5xx-ac97 mapping ok
ALSA device list:
#0: bf5xx-board (AD1980)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 02:46:19 UTC (1085971579)
eth0: SMSC911x/921x identified at 0x24000000, IRQ: 175
eth0: link down
IP-Config: Gateway not on directly connected network.
Freeing unused kernel memory: 6948k freed
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
8`._.' Y8. \ | |__ | | | | | |_| | / \ |
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |
dP . Y8b. \ For embedded processors including |
d8:' " `::88b \ the Analog Devices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - blackfin.uclinux.org/
\ YP" `| 8P `. - docs.blackfin.uclinux.org/
/ \.___.d| .' - www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.13.2 (2009-02-04 19:36:50 GMT) built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/>
************** STEP 3: Start testing.
cd /bin
root:/bin> ./watchdogd
Start in daemon mode.
r
Case 1 ...PASS
Case 1 ...PASS
oot:/bin> ps aux| grep watchdogd | head -1
307 root 32 S ./watchdogd -f
Case 2 ...PASS
Case 2 ...PASS
root:/bin> kill -9 307
bfin-wdt: Unexpected close, not stopping watchdog!
root:/bin>
Case 3 ...FAIL
The resivion of the last working source is:
echo "************* Tested uclinux-dist svn info *************"
Path: .
URL: svn://10.99.22.20/uclinux-dist/trunk
Repository Root: svn://10.99.22.20/uclinux-dist
Repository UUID: 3e2a5524-39e8-4cb9-84a9-c49da69cba3a
Revision: 7699
Node Kind: directory
Schedule: normal
Last Changed Author: vivili
Last Changed Rev: 7699
Last Changed Date: 2009-02-02 03:37:47 +0000 (Mon, 02 Feb 2009)
echo "************* Tested linux svn info ********************"
Path: .
URL: svn://10.99.22.20/linux-kernel/trunk
Repository Root: svn://10.99.22.20/linux-kernel
Repository UUID: 526b6c2d-f592-4532-a319-5dd88ccb003d
Revision: 6046
Node Kind: directory
Schedule: normal
Last Changed Author: gyang
Last Changed Rev: 6046
Last Changed Date: 2009-02-02 09:40:25 +0000 (Mon, 02 Feb 2009)
Follow-ups
--- Graf Yang 2009-04-29 00:50:57
I can't duplicate this bug.
I use toolchain 09r1 rc5, kernel 2009-04-26 rev 6307.
--- Mingquan Pan 2009-05-18 05:37:51
Yes, it is ok with trunk head kernel and toolchain 09r1 rc6 on board ADSP-BF548
Rev 0.2. Close it.
--- Mingquan Pan 2009-06-02 03:44:41
This issue shows up again in log from May 20.
It looks this is due to the u-boot updated to 09r1 from 08r1.5 that day,
because using the uImage prior May 20 to run on the same board with updated
u-boot also fails.
Failed log:
U-Boot 2008.10-svn1872 (ADI-2009R1-rc1) (May 20 2009 - 17:37:34)
CPU: ADSP bf548-0.2 (Detected Rev: 0.2) (parallel flash boot)
Board: ADI BF548 EZ-Kit board
Support: blackfin.uclinux.org/
Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz
RAM: 64 MB
Flash:
RAM size is 64 MB.
16 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: MAC: 00:E0:22:FE:BF:4E
Hit any key to stop autoboot: 0
bfin>
bfin> set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600
bfin> set serverip 10.100.4.174
bfin> set ipaddr 10.100.4.50
bfin> save
Saving Environment to Flash...
. done
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... done
. done
Protected 1 sectors
bfin>
bfin> tftpboot 0x2000000 uImage
smc911x: initializing
smc911x: detected LAN9218 controller
smc911x: phy initialized
smc911x: MAC 00:e0:22:fe:bf:4e
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'uImage'.
Load address: 0x2000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##########################################
done
Bytes transferred = 5386071 (522f57 hex)
Image size is 522f57
bfin> run addip
bfin> bootm
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-2.6.28.10-ADI-2009R1-pre-s
Created: 2009-05-18 19:08:02 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 5386007 Bytes = 5.1 MB
Load Address: 00001000
Entry Point: 0026178c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 0026178c
Linux version 2.6.28.10-ADI-2009R1-pre-svn6364 (test@uclinux61-bf548-std) (gcc
version 4.1.2 (ADI svn)) #229 Mon May 18 19:07:43 GMT 2009
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001923e0
rodata = 0x001923e0-0x0021d918
bss = 0x0021e000-0x00232150
data = 0x00232150-0x0024c000
stack = 0x0024a000-0x0024c000
init = 0x0024c000-0x009f8000
available = 0x009f8000-0x03dff000
DMA Zone = 0x03e00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 1
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF548 Rev 0.2
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-back)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 15747
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600
ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf548-ezkit:eth0:off
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
...
...
root:/> successful boot attempt
version
kernel: Linux release 2.6.28.10-ADI-2009R1-pre-svn6364, build #229 Mon May
18 19:07:43 GMT 2009
toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)
user-dist: release svn-8068, build #2295 Mon May 18 19:06:10 GMT 2009
root:/>
*******************************************************************
STEP 3: Start testing.
cd scsi 1:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 6.51 PQ: 0 ANSI: 0
CCS
sd 1:0:0:0: [sdb] 2014271 512-byte hardware sectors: (1.03 GB/983 MiB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] 2014271 512-byte hardware sectors: (1.03 GB/983 MiB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sdb:/ sdb1 sdb2
bsd 1:0:0:0: [sdb] Attached SCSI removable disk
in
root:/bin> ./watchdogd
Start in daemon mode.
r
Case 1 ...PASS
oot:/bin> ps aux| grep watchdogd | head -1
343 root 32 S ./watchdogd -f
root:/bin>
Case 2 ...PASS
kill -9 343
bfin-wdt: Unexpected close, not stopping watchdog!
root:/bin>
Last passed time: 2009_May_18_14_52, ucdist ver: 8068, kernel ver: 6364
Case 3 ...FAIL
Passed log:
U-Boot 1.1.6-svn1273 (ADI-2008R1.5) (Jul 21 2008 - 00:35:28)
CPU: ADSP bf548-0.0 (Detected Rev: 0.2)
Board: ADI BF548 EZ-Kit board
Support: blackfin.uclinux.org/
Clock: VCO: 525 MHz, Core: 525 MHz, System: 131 MHz
RAM: 64 MB
Flash:
RAM size is 64 MB.
16 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: LAN9x18 (0x118a0000) detected at 0x24000000
MAC: 00:E0:22:FE:BF:4E
Hit any key to stop autoboot: 0
bfin> set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600
bfin> set serverip 10.100.4.174
bfin> set ipaddr 10.100.4.50
bfin> save
Saving Environment to EEPROM...
..done
bfin> tftpboot 0x2000000 uImage
start Auto negotiation... (take ~2sec)
Auto negotiation complete, 100BaseTX, full duplex
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'uImage'.
Load address: 0x2000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############
done
Bytes transferred = 5386071 (522f57 hex)
Image size is 522f57
bfin> run addip
bfin> bootm
## Booting image at 02000000 ...
Image Name: Linux-2.6.28.10-ADI-2009R1-pre-s
Created: 2009-05-18 19:08:02 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 5386007 Bytes = 5.1 MB
Load Address: 00001000
Entry Point: 0026178c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 26178c
Linux version 2.6.28.10-ADI-2009R1-pre-svn6364 (test@uclinux61-bf548-std) (gcc
version 4.1.2 (ADI svn)) #229 Mon May 18 19:07:43 GMT 2009
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001923e0
rodata = 0x001923e0-0x0021d918
bss = 0x0021e000-0x00232150
data = 0x00232150-0x0024c000
stack = 0x0024a000-0x0024c000
init = 0x0024c000-0x009f8000
available = 0x009f8000-0x03dff000
DMA Zone = 0x03e00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 3
Reset caused by Software reset
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF548 Rev 0.2
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-back)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 15747
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600
ip=10.100.4.50:10.100.4.174:192.168.0.1:255.255.255.0:bf548-ezkit:eth0:off
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 52708k/65536k RAM, (7856k init code, 1604k kernel code, 744k
data, 2048k dma, 572k reserved)
Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (42 KB free)
Blackfin L2 SRAM: 128 KB (128 KB free)
PDA for CPU0 reserved at 00221000
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
...
...
root:/> version
kernel: Linux release 2.6.28.10-ADI-2009R1-pre-svn6364, build #229 Mon May
18 19:07:43 GMT 2009
toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)
user-dist: release svn-8068, build #2295 Mon May 18 19:06:10 GMT 2009
root:/>
************** STEP 3: Start testing.
cd /bin
root:/bin> ./watchdogd
Start in daemon mode.
root:/bin>
Case 1 ...PASS
Case 1 ...PASS
ps aux| grep watchdogd | head -1
324 root 32 S
Case 2 ...PASS
Case 2 ...PASS
./watchdogd -f
root:/bin> kill -9 324
bfin-wdt: Unexpected close, not stopping watchdog!
root:/bin> usb 1-1: new high speed USB device using musb_hdrc and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
scsi 1:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 6.51 PQ: 0 ANSI: 0
CCS
sd 1:0:0:0: [sdb] 2014271 512-byte hardware sectors: (1.03 GB/983 MiB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] 2014271 512-byte hardware sectors: (1.03 GB/983 MiB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1 sdb2
sd 1:0:0:0: [sdb] Attached SCSI removable disk
U-Boot 1.1.6-svn1273 (ADI-2008R1.5) (Jul 21 2008 - 00:35:28)
CPU: ADSP bf548-0.0 (Detected Rev: 0.2)
Board: ADI BF548 EZ-Kit board
Support: blackfin.uclinux.org/
Clock: VCO: 525 MHz, Core: 525 MHz, System: 131 MHz
RAM: 64 MB
Flash: 16 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: LAN9x18 (0x118a0000) detected at 0x24000000
MAC: 00:E0:22:FE:BF:4E
Hit any key to stop autoboot: 0
start Auto negotiation... (take ~2sec)
Maybe this bug should move to the u-boot bug tracker.
--- Mike Frysinger 2009-06-02 04:04:26
are you sure this isnt a dupe of [#4942] ? your tests there arent equivalent.
the first is u-boot in parallel flash while the second is in spi flash.
--- Mingquan Pan 2009-06-02 22:25:22
There should be two issues, because this kernel config CONFIG_PM is not set and
I try reboot with this kernel, it is ok.
The detailed config is attached.
--- Graf Yang 2009-06-04 01:00:19
You have not remove 'watchdog -f -s' from /etc/inittab
...
Have a lot of fun...
BusyBox v1.13.4 (2009-06-04 11:47:42 GMT) built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/> ps aux | grep watch
4 root 0 SW< [watchdog/0]
239 root 484 S /bin/watchdogd -f -s
root:/> kill -9 239
bfin-wdt: Unexpected close, not stopping watchdog!
root:/> ps aux | grep watch
4 root 0 SW< [watchdog/0]
243 root 484 S /bin/watchdogd -f -s
so you can't kill watchdogd, and the board will not reset.
It's not a bug.
--- Graf Yang 2009-06-04 21:59:42
Grace,
Sorry, now I duplicated this bug, boot nor flash fail, but spi flash is OK,
under debugging.
--- Graf Yang 2009-06-09 02:50:09
Fixed.
This intel nor flash chip is in status mode when watchdog reboot happen, this
cause nor flash boot fail.
Now it is put into array mode, after chip is unlocked.
None-intel chip will not do unlock operation in this case, so have not this
bug.
--- Mingquan Pan 2009-06-18 04:56:03
Yes, fixed. Close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.watchdog application/octet-stream 40730 Mingquan Pan