2440 not booting

Chinmay Duvedi
Attachment: download.pdf (239.72 KB)
Hi everyone..
I installed DNW and then connected my mini2440 to my pc. Then i followed
the instructions in the usb download manual(please see the attachment) upto
downloading the "yaffs root image via usb".

Then the manual says i should reboot my board with the boot mode switch at
the NAND position.

But after doing this my board is not booting...
Where have i gone wrong... or do i need to do anything more???

Please help

Thanks in advance

Chinmay

Chinmay Duvedi
Adding to my previous post....

The first command in the manual is to format NAND flash... has this erased
everything.... do i need to put some things back on to the board???? please
help 

Thanks

Chinmay

Tom
If you followed the instructions and everything is transmitted successfully
(the root image takes some time) then linux/qtopia should boot. You will
also see informations in the DNW window, if you have the serial cable
connected and boot from NAND.

Tom

Chinmay Duvedi
Attachment: ARM9 mini2440 boot attempt 1.txt (22.58 KB)
Thanks Tom.

I followed the instructions in the manual and loaded everything. I
connected the serial cable and booted the board with NAND flash.
Here is what i see on the DNW screen

s3c2440-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V
8-bit)
Scanning device for bad blocks
Bad eraseblock 21 at 0x0000002a0000
..
..
Bad eraseblock 791 at 0x0000062e0000
Creating 4 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x000000000000-0x000000060000 : "supervivi"
0x000000060000-0x000000260000 : "Kernel"
0x000000260000-0x000040260000 : "root"
mtd: partition "root" extends beyond the end of device "NAND 128MiB 3,3V
8-bit" -- size truncated to 0x7da0000
0x000000000000-0x000040000000 : "nand"
mtd: partition "nand" extends beyond the end of device "NAND 128MiB 3,3V
8-bit" -- size truncated to 0x8000000
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 2.6.29.4-FriendlyARM ohci_hcd
usb usb1: SerialNumber: s3c24xx
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
s3c2410 TouchScreen successfully loaded
input: s3c2410 TouchScreen as /devices/virtual/input/input0
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
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
s3c2440-sdi s3c2440-sdi: powered down.
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.18a.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
asoc: UDA134X <-> s3c24xx-i2s mapping ok
ALSA device list:
  #0: S3C24XX_UDA134X (UDA134X)
TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
lib80211: common routines for IEEE802.11 drivers
s3c2410-rtc s3c2410-rtc: setting system clock to 2161-10-02 14:02:03 UTC
(1756193627)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
block 3 is bad
..
..

block 773 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 128K
Warning: unable to open an initial console.
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to
kernel.


Where am i going wrong???
Please help

Thanks
Chinmay.

PS. I have attached the file containing the complete details of the problem
from the DNW screen

Andreas Watterott
Do you have connected a display to the board and also what power supply do
you use? You need a 5V power supply with at least 1A.

Regards,
Andreas

PS: Please dont upload files to the forum which are already in the download
section. (download.pdf)

Chinmay Duvedi
Problem solved!!!!!

Thank you all
The packaging of my friendly arm said that it has a 64M Flash
Actually it has a 128M Flash :)

So i put the necessary files for the 128M Flash
And it worked..

Thanx again for your time everyone..\
Now All is Well!!
Chinmay

Peter Bolch
Neither Linux nor WinCE will boot stand alone with my board. The only way
to get the Mini2440 booting is using DNW's Boot command. I have tried both
128 M and 64 M flash versions of SuperVivi.

Any ideas?


Regards,

Peter