Joshoa
Member
- Joined
- Oct 24, 2011
- Messages
- 49
- Reaction score
- 2
Hi all.
I discovered some interesting thing to share.
One of my IRIS3000 got broken.
It was the [SDA1] version - rootfs is on 128MB embedded USB flashdrive.
After spending some time i found that the flash IC is dead - it loose all the date written on it after reset/power cycle.
But luckly, i had a SD-CARD of 128MB in size. I made a [dd] direct clone to it and put it in to the phone.
I edited REDBOOT script line from [... root=/dev/sda1 ...] to [...root=/dev/mmcblk0p1 ...].
But no luck, the phone was still dead.
After some brainstorming i decide to look for serial console, which i knew was there.
I was able to find it out, see the photo attached.
After some additional investigation i found out that everything was OK - it was just the typical race condition.
Kernel was initializing SD/MMC interface slower then attempting to mount it as root.
One more parameter to REDBOOT script and it worked like a charm:
[exec -w 2 -b 0x100000 -l 0x200000 -c "noinitrd console=ttymxc0,115200 root=/dev/mmcblk0p1 rootfstype=ext3 rootdelay=10 init=linuxrc ip=none fec_mac=00:04:9f:00:82:4c video=mxcfb:TV-NTSC"]
Black - GND
Yellow - RX (From IRIS to PC)
Red - TX (From PC to IRIS)
J
I discovered some interesting thing to share.
One of my IRIS3000 got broken.
It was the [SDA1] version - rootfs is on 128MB embedded USB flashdrive.
After spending some time i found that the flash IC is dead - it loose all the date written on it after reset/power cycle.
But luckly, i had a SD-CARD of 128MB in size. I made a [dd] direct clone to it and put it in to the phone.
I edited REDBOOT script line from [... root=/dev/sda1 ...] to [...root=/dev/mmcblk0p1 ...].
But no luck, the phone was still dead.
After some brainstorming i decide to look for serial console, which i knew was there.
I was able to find it out, see the photo attached.
After some additional investigation i found out that everything was OK - it was just the typical race condition.
Kernel was initializing SD/MMC interface slower then attempting to mount it as root.
One more parameter to REDBOOT script and it worked like a charm:
[exec -w 2 -b 0x100000 -l 0x200000 -c "noinitrd console=ttymxc0,115200 root=/dev/mmcblk0p1 rootfstype=ext3 rootdelay=10 init=linuxrc ip=none fec_mac=00:04:9f:00:82:4c video=mxcfb:TV-NTSC"]
Black - GND
Yellow - RX (From IRIS to PC)
Red - TX (From PC to IRIS)
J