Project

General

Profile

Activity

From 03/18/2023 to 04/16/2023

04/10/2023

JC 02:16 PM Software Development: RE: Cannot establish an ethernet connection
Great, note that at least for this boot. The ethernet phy came up as address 3 so it would have worked with the original kernel as well. Jonathan Cormier
VK 02:05 PM Software Development: RE: Cannot establish an ethernet connection
With new image: Vadym Kolesnyk

04/07/2023

JC 09:46 PM Software Development: RE: Cannot establish an ethernet connection
Thanks. Jonathan Cormier
VK 08:35 PM Software Development: RE: Cannot establish an ethernet connection
80-000268RI-3 B
14012628
14-11-05
Vadym Kolesnyk
JC 08:02 PM Software Development: RE: Cannot establish an ethernet connection
Can you provide your 80- number and serial number from the barcode on your devkit?
If you stop at u-boot, does the dhcp command work?
And can you run the config command and give me the output
Jonathan Cormier
VK 07:21 PM Software Development: RE: Cannot establish an ethernet connection
I use critical link industrial io baseboard Vadym Kolesnyk
VK 06:52 PM Software Development: RE: Cannot establish an ethernet connection
Initially, I could connect via a local network, i.e., I just connected the devkit to the router (without changing anything in /etc/network/interfaces or other manipulations). The connection was established without problems. I didn’t even... Vadym Kolesnyk
JC 05:35 PM Software Development: RE: Cannot establish an ethernet connection
I'm sorry, but you need to answer my questions if we are going to get to the bottom of this. Jonathan Cormier
VK 04:49 PM Software Development: RE: Cannot establish an ethernet connection
The output I obtained now is in the attached file. Now I want to connect directly to the PC to eliminate router influence. May I do any specific actions? I have tried to do it (like I did with raspberry pi before, for example) but achiev... Vadym Kolesnyk
VK 03:39 PM Software Development: RE: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
Hello, I'm sorry for the delay. I have reprogrammed u-boot as you advised. Loading from a "guilty" SD card is as fast as before, with no freezes. The only problem that returns is that I cannot establish an ethernet connection again (for ... Vadym Kolesnyk

04/04/2023

JC 01:22 PM Software Development: RE: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
Vadym Kolesnyk wrote in message#6300:
> Yes, the md5 sum and all installation process outputs are equal.
Okay that is good
> ...
The next thing we should try is reprogramming u-boot and the ubl. Since we've tried several SD cards and...
Jonathan Cormier
VK 11:45 AM Software Development: RE: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
Yes, the md5 sum and all installation process outputs are equal.

So, I tried to set up a newly-bought SD card today. Kernel initialization hung again, but this time, I did not turn it off after that and left it for a while (not inten...
Vadym Kolesnyk

04/03/2023

JC 09:15 PM Software Development: RE: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
> I understand the only possible solution is to reset radically devkit somehow, but why this strange bug may have happened? There was no outside interference. The devkit just wasn't turned on for a month.
Yeah, this is unexpected.
Jonathan Cormier
JC 08:06 PM Software Development: RE: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
> Did you grab the mityomap-full.tgz file from MDK_2014-01-13? I just want to follow the same steps and make sure it still works on my end.
Looking at your log, your kernel build date matches the 2014 MDK so I'm going to assume yes.
...
Jonathan Cormier
JC 07:51 PM Software Development: RE: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
Thanks for the update.
Did you grab the mityomap-full.tgz file from MDK_2014-01-13? I just want to follow the same steps and make sure it still works on my end.
Jonathan Cormier
VK 06:02 PM Software Development: RE: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
Sorry if I have described my problem not clearly. Yes, I booted this devkit successfully with my sd card before (about a month ago). Nobody except me worked with this devkit. The kernel is without any changes from my side. I use the defa... Vadym Kolesnyk
JC 01:11 PM Software Development: RE: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
Vadym Kolesnyk wrote in message#6294:
> I use the standard devkit. When I had problems with the SD card (for example, bad partition), I got these messages:
> ...
Okay, so the above message is what you get if u-boot can't find the sdcar...
Jonathan Cormier

04/01/2023

VK 05:50 AM Software Development: RE: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
I use the standard devkit. When I had problems with the SD card (for example, bad partition), I got these messages: Vadym Kolesnyk

03/31/2023

JC 09:30 PM Software Development: RE: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
If this is a custom baseboard without the card detect hooked up. Then this could also happen.
For an example of disabling card detect and/or the read-only pin see baseboard_hfm.c:
baseboard_hfm.c:
Jonathan Cormier
JC 09:24 PM Software Development: RE: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
That is unexpected. Your boot log looks like everything is correct. It looks similar to if you had no sdcard plugged in at all. Even if you flashed the sdcard incorrectly, I would still expect to see the mmc show up.
Example of succ...
Jonathan Cormier
VK 04:01 PM Software Development: Discussion: Kernel hangs on "Waiting for root device /dev/mmcblk0p1..."
I made rootfs on an SD card according to this wiki page (https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Root_File_System), but every time kernel hanging on "Waiting for root device /dev/mmcblk0p1...". The ful... Vadym Kolesnyk
KN 11:14 AM Software Development: RE: Increasing CPU clock OMAPL138
Hi Mike,
Ah, makes sense.
For the time being I'll stick with controlling the clock frequency with Linux.
Thank you for your time.
Regards,
Kim
Kim Nielsen

03/29/2023

MW 07:03 PM Software Development: RE: Increasing CPU clock OMAPL138
Hi Kim,
I think the reason why the uBoot Critical Link publishes is using 300 MHz is because the Revision 1 silicon was only rated to 300 MHz for 1.2V operation. See Note (7) of section 5.3 of the datasheet. For Revision 1 silicon, ...
Michael Williamson

03/27/2023

KN 02:12 PM Software Development: RE: Increasing CPU clock OMAPL138
Alright.
Is there is no way to change the default frequency from 300Mhz to e.g. 372MHz with U-Boot?
As far as I can see, according to *Table 6-5. Maximum Internal Clock Frequencies at Each Voltage Operating Point* in *OMAP-L138 C600...
Kim Nielsen
MW 02:01 PM Software Development: RE: Increasing CPU clock OMAPL138
Hi Kim,
I think the issue is that the voltage scaling needs to be done to default
to a higher frequency.
The PMIC defaults the core voltage to support 300 MHz and I don't think
uBoot adjusts it -- it starts all the PLLs, etc., at...
Michael Williamson
JC 02:00 PM Software Development: RE: Increasing CPU clock OMAPL138
I don't see an obvious default frequency config in the kernel, I'd guess that it stays with whatever frequency was setup by u-boot. But that would need to be tested.
You could use the ONDEMAND governor as default if you want it to sc...
Jonathan Cormier
KN 01:44 PM Software Development: RE: Increasing CPU clock OMAPL138
I actually got another question.
By default, the cpu frequency seems to always be 300 MHz.
Is this value hardcoded in the kernel somewhere?
Can't seem to find it.
/Kim
Kim Nielsen

03/24/2023

JC 05:24 PM Software Development: RE: Increasing CPU clock OMAPL138
Kim Nielsen wrote in message#6283:
> It's our own "experimental" kernel.
> ...
Gotcha, just curious if your based off of 4.19 from mainline or if you started from a TI kernel. Glad you got it working though.
Jonathan Cormier
KN 12:21 PM Software Development: RE: Increasing CPU clock OMAPL138
It's our own "experimental" kernel.
It seems to be working now. The issue was that the pll0 registers were apparently locked by CFGCHIP0.
Thank you for your time.
/Kim
Kim Nielsen

03/23/2023

JC 01:37 PM Software Development: RE: Increasing CPU clock OMAPL138
Where is the 4.19 kernel based from? It doesn't appear to have working cpufreq. Jonathan Cormier
KN 07:17 AM Software Development: RE: Increasing CPU clock OMAPL138
Hi Mike & Jonathan,
Thank you for the fast reply :-)
I have the following frequencies available according to the "scaling_available_frequencies" file.
456000 408000 372000 300000 200000 96000
We are actually using a newer kerne...
Kim Nielsen

03/22/2023

JC 09:25 PM Software Development: RE: Increasing CPU clock OMAPL138
Hi Kim, What kernel version are you using? Testing this on our released 3.2 kernel appears to be working for me.
Note my module tested is only rated up to 372000khz. I can try to find a L138-F... module which should be good up to 45...
Jonathan Cormier
MW 05:23 PM Software Development: RE: Increasing CPU clock OMAPL138
Hi Kim,
What do you get when you dump out the scaling_available_frequencies (I don't remember the exact name off the top of my head, but the file that lists the available frequencies that may be selected)?
-Mike
Michael Williamson
KN 03:14 PM Software Development: Increasing CPU clock OMAPL138
Hi,
I'm using a "L138-FI-236-RL" SOM board with SYS/BIOS running on the DSP and Linux on the ARM.
The Linux is built by ourselves, but it is based on davinci Linux.
I have attached the config file I use and dmesg log.
Issue:
I w...
Kim Nielsen
 

Also available in: Atom