Odroid C2 hangs booting

Post Reply
matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Odroid C2 hangs booting

Post by matec.89 »

Dear,

We are having problems with the Odroid C2 board, which has an eMMC v0.4 installed.
SO: Android 6.0.1.
Kernel: 3.14.29
In the last few days I have noticed that some C2 boards stop working after one or two reboots. I have connected the UART-USB board and I have seen that there are always emmc disk errors like this (attached log):

[ 5.674075@0] aml_sd_emmc_data_thread : 2156
[ 5.674098@0] mmcblk0: response CRC error sending r/w cmd command, card status 0x400900
[ 5.674318@0] [aml_sd_emmc_irq] emmc: response ecc,vstat:0x2400,virqc:3fff

I tried using an eMMC v0.3 and that issue doesn't occur.
If I rewrite the emmc disk, the problem appears again. If I change the disk the problem goes away, so it seems not a C2 board problem. It seems an emmc disks problem!
It happens in a 10% of emmc disks (I'm mounting hundreds of boards) and I'm very worried!

Do you have any information about this? Could you tell me why this problem is caused and how can I solve it?

We are using an eMMC module (orange v0.4) (image attachment)
Is a proper configuration the use of Odroid C2 + eMMC 32GB module v0.4 + Android Marshmallow V3.3?

Best regards.
Attachments
IMG_20201216_161056.jpg
IMG_20201216_161056.jpg (420.9 KiB) Viewed 577 times
boot log OdroidC2.log
(336.83 KiB) Downloaded 5 times

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

Another important fact:
We are downloading the Android ISO to configure the ttyS2 and ttyS3 serial ports.
Is there a difference between memory mmc described on the page?

User avatar
odroid
Site Admin
Posts: 36385
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1431 times
Been thanked: 980 times
Contact:

Re: Odroid C2 hangs booting

Post by odroid »

We've not heard this issue.
I think we released the Orange eMMC module 0.4 almost two years ago but you are the first user who raises the issue.

Anyway, we will try reproducing the issue with random 20~30 Orange eMMC module samples and a few C2 samples early next week.
We will use this latest 6.0.1 OS image for the test with some C2 samples.
https://wiki.odroid.com/odroid-c2/os_im ... allow_v5.8

Update.
We could reproduce the issue :o
The failure rate was around 4~5%.
We will share a solution by replacing a dtb file soon.
It will be reducing the eMMC clock frequency slightly to improve the stability.

Luke.go
Posts: 569
Joined: Mon May 30, 2016 1:55 pm
languages_spoken: english
Has thanked: 70 times
Been thanked: 71 times
Contact:

Re: Odroid C2 hangs booting

Post by Luke.go »

Please test with the attached dtb files. :)

First, unzip the meson64_odroidc2.dtb.zip file.
Second, flash this the dtb file by fastboot command.
Instruction -> https://wiki.odroid.com/odroid-c2/softw ... ux_kernel1

Once you confirm the stability, we will release a new image.
Attachments
meson64_odroidc2.dtb.zip
(8.17 KiB) Downloaded 8 times

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

Luke.go wrote:
Fri Dec 18, 2020 5:54 pm
Please test with the attached dtb files. :)

First, unzip the meson64_odroidc2.dtb.zip file.
Second, flash this the dtb file by fastboot command.
Instruction -> https://wiki.odroid.com/odroid-c2/softw ... ux_kernel1

Once you confirm the stability, we will release a new image.
Thansks a lot! This dtb have a ttyS2 asnd ttyS3 serial port?
I will be testing, and I confirm

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

odroid wrote:
Fri Dec 18, 2020 9:50 am
We've not heard this issue.
I think we released the Orange eMMC module 0.4 almost two years ago but you are the first user who raises the issue.

Anyway, we will try reproducing the issue with random 20~30 Orange eMMC module samples and a few C2 samples early next week.
We will use this latest 6.0.1 OS image for the test with some C2 samples.
https://wiki.odroid.com/odroid-c2/os_im ... allow_v5.8

Update.
We could reproduce the issue :o
The failure rate was around 4~5%.
We will share a solution by replacing a dtb file soon.
It will be reducing the eMMC clock frequency slightly to improve the stability.
I tried the Android v5.8 image, with the .dtb sent by @ Luke.go and the truth is that I could not reproduce the problem, since I need if or if the ports ttyS2 and ttyS3 are enabled, and they are not.
I would need them to tell me from where I can download the .dtb necessary to have these two ports enabled, or from where I can download all the source files to be able to modify the .dts and compile the file I need.

Thanks
Attachments
2020-12-18_15-37-59.jpg
2020-12-18_15-37-59.jpg (4.48 KiB) Viewed 508 times

Luke.go
Posts: 569
Joined: Mon May 30, 2016 1:55 pm
languages_spoken: english
Has thanked: 70 times
Been thanked: 71 times
Contact:

Re: Odroid C2 hangs booting

Post by Luke.go »


matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

Luke.go wrote:
Mon Dec 21, 2020 9:08 am
Please check the wiki page. :)
https://wiki.odroid.com/odroid-c2/appli ... /gpio/uart
But doing for that I need to download all the sources.
This change that happened in the dtb file, would it be inside the dtb file that I generated?

I understand that the .dtb they gave me has a modification in the frequency of work of the eMMC, and that this modification is not available in git.

Luke.go
Posts: 569
Joined: Mon May 30, 2016 1:55 pm
languages_spoken: english
Has thanked: 70 times
Been thanked: 71 times
Contact:

Re: Odroid C2 hangs booting

Post by Luke.go »

matec.89 wrote:
Mon Dec 21, 2020 10:14 am
Luke.go wrote:
Mon Dec 21, 2020 9:08 am
Please check the wiki page. :)
https://wiki.odroid.com/odroid-c2/appli ... /gpio/uart
But doing for that I need to download all the sources.
This change that happened in the dtb file, would it be inside the dtb file that I generated?

I understand that the .dtb they gave me has a modification in the frequency of work of the eMMC, and that this modification is not available in git.
You just need to download the linux kernel, not all of the sources. :)
Please download the linux kernel and change the branch to the c2 android's.
And modify the dts file. reference is wiki page the above.

Code: Select all

make odroidc2_defconfig
make dabs
fastboot flash dtb arch/arm64/boot/dts/meson64_odroidc2.dtb

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

Luke.go wrote:
Mon Dec 21, 2020 11:50 am
matec.89 wrote:
Mon Dec 21, 2020 10:14 am
Luke.go wrote:
Mon Dec 21, 2020 9:08 am
Please check the wiki page. :)
https://wiki.odroid.com/odroid-c2/appli ... /gpio/uart
But doing for that I need to download all the sources.
This change that happened in the dtb file, would it be inside the dtb file that I generated?

I understand that the .dtb they gave me has a modification in the frequency of work of the eMMC, and that this modification is not available in git.
You just need to download the linux kernel, not all of the sources. :)
Please download the linux kernel and change the branch to the c2 android's.
And modify the dts file. reference is wiki page the above.

Code: Select all

make odroidc2_defconfig
make dabs
fastboot flash dtb arch/arm64/boot/dts/meson64_odroidc2.dtb
Okay!
So in the image of Android v5.8 is the modification on the working frequency of the memory already found?

User avatar
odroid
Site Admin
Posts: 36385
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1431 times
Been thanked: 980 times
Contact:

Re: Odroid C2 hangs booting

Post by odroid »

Let's separate two issues and focus on the eMMC stability first.
Can you please confirm the new DTB solved "Odroid C2 hangs booting" problem for all the problematic eMMC/C2 boards?
If yes, we will make a new version v5.9 soon.

After that, we will help you to enable the extra UART ports.

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

odroid wrote:
Mon Dec 21, 2020 12:06 pm
Let's separate two issues and focus on the eMMC stability first.
Can you please confirm the new DTB solved "Odroid C2 hangs booting" problem for all the problematic eMMC/C2 boards?
If yes, we will make a new version v5.9 soon.

After that, we will help you to enable the extra UART ports.
As I mentioned earlier, I need the serial ports enabled in order to try to reproduce the eMMC boot problem (the installed app, with which I was able to detect the bug, needs those ports enabled)
If they confirm that by downloading the kernel and modifying the dts this update is done, I modify it and test it.

Luke.go
Posts: 569
Joined: Mon May 30, 2016 1:55 pm
languages_spoken: english
Has thanked: 70 times
Been thanked: 71 times
Contact:

Re: Odroid C2 hangs booting

Post by Luke.go »

Please apply attachments.

This patch will be applied to our github linux repository.
Attachments
0001-ODROID-C2-Changed-emmc-f_max-to-180Mhz.patch.zip
(792 Bytes) Downloaded 7 times

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

Luke.go wrote:
Mon Dec 21, 2020 3:19 pm
Please apply attachments.

This patch will be applied to our github linux repository.
Hello!
I was able to modify the dts to be able to generate the dtb.
These days I will be testing it and confirm if it is resolved
These users thanked the author matec.89 for the post:
Luke.go (Tue Dec 22, 2020 8:25 am)

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

Dear,
I hope they are well.
I am having a problem with Odroid C2 (with Android 6.01 - v5.8) and UV7 Plus display.
Indeterminately turns off and on (with the black background on) the screen. But the touch continues to work, since when the image of my application reappears, I see the change of the selected option

Inside the app "Odroid Utility" it is configured with a resolution of 1024x600 at 60Hz.
And I notice that in the boot.ini file, set setenv vout_mode "hdmi".
I also tried another updated board (Android M v5.8) by setting the display to vout_mode "dvi" and display resolution "VU7 Plus", and then you will see several attempts the same thing happened.

What is the difference between setting the display with the screen resolution and setting it with the display name?
What is the difference between HDMI and DVI settings?

It should be clarified that before the modification in the Image (v3.3) this problem, I cannot reproduce it
How can I solve this problem?
Attachments
boot.ini
(5.15 KiB) Downloaded 5 times

User avatar
odroid
Site Admin
Posts: 36385
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1431 times
Been thanked: 980 times
Contact:

Re: Odroid C2 hangs booting

Post by odroid »

As far as I remember, the old Vu7-Plus model must use 'dvi' mode since it doesn't support sound feature while Vu7A-Plus support the audio output which needs 'hdmi' vout mode.

Anyway, we will try to reproduce the issue.

Luke.go
Posts: 569
Joined: Mon May 30, 2016 1:55 pm
languages_spoken: english
Has thanked: 70 times
Been thanked: 71 times
Contact:

Re: Odroid C2 hangs booting

Post by Luke.go »

Can you check vid &pid by "lsusb" command? :)
And Please get the kernel log via dmesg command.
Let me know the result.:)

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

I pass what is requested.
When executing the command "lsusb" it returns the following:

root@odroidc2:/ # lsusb
Bus 001 Device 002: ID 05e3:0610
Bus 002 Device 002: ID 16b4:0705
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0002


After being able to reproduce the fault (in an environment at approximately 28 ° C), I connected a keyboard and disconnected and reconnected the display power to be able to export the log.
In the attachment I leave the kernel log of the board that has v5.8 with the serial ports enabled and the eMMC frequency modified as indicated in previous messages.
One detail that I observed, when this happens, is that the two display LEDs (green and red) are on (black screen, photo attached).
As happened with the eMMC frequency, is it possible that the HDMI has a greater frequency (transfer rate / clock / signaling) than the old Android 6.0.1 (v3.3)?

Check that the display model is VU7A Plus (image attached), but looking at the kernel log it shows "dwav_usb_mt 2-1: 1.0: ODROID VU7 Plus MultiTouch (1024x600)"

I'll be waiting for news. Thank you!
Attachments
Kernel_Log_HDMI.txt
(3.28 KiB) Downloaded 6 times
Led_Display.jpg
Led_Display.jpg (327.36 KiB) Viewed 281 times
Display.jpg
Display.jpg (395.86 KiB) Viewed 298 times
Kernel_Log.txt
(60.39 KiB) Downloaded 5 times

User avatar
odroid
Site Admin
Posts: 36385
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1431 times
Been thanked: 980 times
Contact:

Re: Odroid C2 hangs booting

Post by odroid »

Thank you for capturing the kernel logs. But I couldn't find any clue.

Vu7+ and Vu7A+ are sharing the same touch screen controller, and the VID/PID are identical. You have the latest controller ID and there shouldn't be a problem.
The eMMC host clock frequency must be fully isolated from the HDMI clock generator.
Vu7A+ should work regardless of 'vout' mode settings.
Anyway, we will test the Vu7A+ display and touchscreen functionality early next week again.

Meanwhile, try connecting a separated stable 5V PSU to Vu7A+ via DC input micro-USB port near the headphone jack.
It will narrow down the root causes.

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

odroid wrote:
Thu Dec 31, 2020 11:59 am
Thank you for capturing the kernel logs. But I couldn't find any clue.

Vu7+ and Vu7A+ are sharing the same touch screen controller, and the VID/PID are identical. You have the latest controller ID and there shouldn't be a problem.
The eMMC host clock frequency must be fully isolated from the HDMI clock generator.
Vu7A+ should work regardless of 'vout' mode settings.
Anyway, we will test the Vu7A+ display and touchscreen functionality early next week again.

Meanwhile, try connecting a separated stable 5V PSU to Vu7A+ via DC input micro-USB port near the headphone jack.
It will narrow down the root causes.
I'm not saying that the eMMC depended on or associated with the HDMI frequency, but with the version change made in the operating system, could something have changed in the HDMI working frequency? (since after the version change, they asked me to change the maximum frequency of the eMMC).
I tell you that a test I did was to move the HDMI cable from one side to the other without disconnecting it on a board with Android v5.8 and the red led turns on (as if there were some false contact).
I did the same on another board with Android v3.3, and this does not happen.
I clarify that the green led is always on (in the photo attached to the previous comment it cannot be distinguished)

Next week i'm going to try to do the test, because I don't have a 5V CC source.
In case I can do it, I will give details of the tests carried out.
Thank you and happy new year!

User avatar
codewalker
Posts: 1135
Joined: Mon Feb 25, 2013 11:03 am
languages_spoken: english
ODROIDs: all
Has thanked: 49 times
Been thanked: 82 times
Contact:

Re: Odroid C2 hangs booting

Post by codewalker »


Luke.go
Posts: 569
Joined: Mon May 30, 2016 1:55 pm
languages_spoken: english
Has thanked: 70 times
Been thanked: 71 times
Contact:

Re: Odroid C2 hangs booting

Post by Luke.go »

I have tested vu7a+ with your methods.
But I can't reproduce the problem.
The display was always working.

Please check the J1 pins. If you not removed J1 Jumper, please remove it and try again.
And, According to your log, there may be a bad connection problem. So please change the HDMI cable and try again. :)

I tested it on the 5.8 and 4.0 . Because I couldn't get the version 3.3 :cry:

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

Luke.go wrote:
Mon Jan 04, 2021 3:45 pm
I have tested vu7a+ with your methods.
But I can't reproduce the problem.
The display was always working.

Please check the J1 pins. If you not removed J1 Jumper, please remove it and try again.
And, According to your log, there may be a bad connection problem. So please change the HDMI cable and try again. :)

I tested it on the 5.8 and 4.0 . Because I couldn't get the version 3.3 :cry:
To connect the HDMI port with the odroid, we are using an HDMI 1.4b cable, HDMI A male to HDMI A male (https://www.qualtekusa.com/product/1721001-03/).
Is there any compatibility difference with the Odroid C2 specification, which says it is HDMI 2.0 4K?

With the HDMI cable that comes with the display, try and the same thing happens. When moved from side to side (from the display connector), the red LED on the display lights up.

Luke.go
Posts: 569
Joined: Mon May 30, 2016 1:55 pm
languages_spoken: english
Has thanked: 70 times
Been thanked: 71 times
Contact:

Re: Odroid C2 hangs booting

Post by Luke.go »

No, I don't means change 1.4b to 2.0. Just Try with another cables. :)

the red LED on the display lights up means, the poor contact. :cry:

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

What other cables? I tried with two 1.4b cables (one of them the short cable that comes with the display and the one I mentioned above) and the other of 2.0 which cannot reproduce the problem, so I ask if it could be something of compatibility.
Any specs other than cable type I need to know?
I have had this problem since last week and I can't find a solution.

User avatar
odroid
Site Admin
Posts: 36385
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1431 times
Been thanked: 980 times
Contact:

Re: Odroid C2 hangs booting

Post by odroid »

There is no specific specs. C2 and Vu series display could work with a very old HDMI 1.3 cable.
But, we've seen some HDMI cable manufacturers omitted a couple of wire connections for the EDID or HPD protocol interface.
In that case, automatic resolution detection feature couldn't work properly.

Or, the connectors on the Vu board or cables have poor contact surface due to oxidation or foreign matter on the contact surface..

matec.89
Posts: 28
Joined: Tue Jul 11, 2017 4:12 am
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Odroid C2 hangs booting

Post by matec.89 »

We tried different cables (and bought one to have more variety) and it kept happening that I lost the signal.

Now we are testing the same cables, but the difference is that we glued the cable to the case of the equipment we are developing and the problem could not be reproduced.
Anyway we are going to continue testing, since the "solution" of having to glue the cable is somewhat uncomfortable.

The problem with the eMMC (root of the forum thread) did not occur again.

User avatar
odroid
Site Admin
Posts: 36385
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1431 times
Been thanked: 980 times
Contact:

Re: Odroid C2 hangs booting

Post by odroid »

matec.89 wrote:
Thu Jan 07, 2021 12:59 am
The problem with the eMMC (root of the forum thread) did not occur again.
Thank you for the confirmation.
We've released a new Android image.
https://wiki.odroid.com/odroid-c2/os_im ... allow_v5.9

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 5 guests