March 15, 2025, 12:17:30 PM

Recent posts

#81
STMP1 / Re: STM32MP1 OLinuXino-LIME U-...
Last post by ninevoltz - January 31, 2025, 05:18:51 PM
A successful U-Boot start looks like this, for reference:

U-Boot SPL 2021.04+olimex-1-20240312.134658 (Mar 12 2024 - 13:48:01 +0000)
Model: STM32MP1 OLinuXino-LIME
Init AXP209 PMIC
VDD Core set to: 1350 mv
---------0------------
RAM: DDR3-DDR3L 32bits 533000kHz
Trying to boot from MMC1


U-Boot 2021.04+olimex-1-20240312.134658 (Mar 12 2024 - 13:48:01 +0000)

CPU: STM32MP157DAA Rev.Z
Model: STM32MP1 OLinuXino-LIME
Verifying data: EEPROM Valid
ID:    STMP157-OLinuXino-LIME2H-EXT Rev.B1
SN:    0002BDCD
MAC:   30:1F:9A:D1:70:32
Board: stm32mp1 in basic mode (olimex,stm32mp1xx-olinuxino-lime)
DRAM:  1 GiB
Clocks:
- MPU : 800 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
NAND:  0 MiB
MMC:   STM32 SD/MMC: 0, STM32 SD/MMC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
invalid MAC address in OTP 00:00:00:00:00:00
## Error: Can't force access to "ethaddr"
Net:   eth0: ethernet@5800a000
Hit any key to stop autoboot:  0
Boot over mmc0!
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:4...
Found U-Boot script /boot/boot.scr
2025 bytes read in 22 ms (89.8 KiB/s)
## Executing script at c4100000
Checking for /uEnv.txt...
Checking for /boot/uEnv.txt...
455 bytes read in 22 ms (19.5 KiB/s)
Loaded environment from /boot/uEnv.txt
Loading FIT image...
21649747 bytes read in 928 ms (22.2 MiB/s)
## Loading kernel from FIT Image at c2000000 ...
   Using 'config-1001' configuration
   Trying 'kernel-1' kernel subimage
     Description:  Linux kernel 5.10.180-olimex
     Created:      2025-01-30  17:02:24 UTC
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0xc20000d4
     Data Size:    6574480 Bytes = 6.3 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0xc0000000
     Entry Point:  0xc0000000
     Hash algo:    crc32
     Hash value:   0d5f6ea4
     Hash algo:    sha1
     Hash value:   fe349f56ad42d4d72dabe061c09c77c73bc0a02b
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at c2000000 ...
   Using 'config-1001' configuration
   Trying 'ramdisk-1' ramdisk subimage
     Description:  Ramdisk for kernel 5.10.180-olimex
     Created:      2025-01-30  17:02:24 UTC
     Type:         RAMDisk Image
     Compression:  Unknown Compression
     Data Start:   0xc2645398
     Data Size:    14994991 Bytes = 14.3 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0xc4400000
     Entry Point:  0xc4400000
     Hash algo:    crc32
     Hash value:   18f6e8cf
     Hash algo:    sha1
     Hash value:   26ccb7467f325526e2209aa4905407f3f3f5dbef
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading ramdisk from 0xc2645398 to 0xc4400000
WARNING: 'compression' nodes for ramdisks are deprecated, please fix your .its file!
## Loading fdt from FIT Image at c2000000 ...
   Using 'config-1001' configuration
   Trying 'fdt-1' fdt subimage
     Description:  unavailable
     Created:      2025-01-30  17:02:24 UTC
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0xc34922b4
     Data Size:    78071 Bytes = 76.2 KiB
     Architecture: ARM
     Load Address: 0xc4000000
     Hash algo:    crc32
     Hash value:   0b1f824a
     Hash algo:    sha1
     Hash value:   3387e34719ef8faf007e1702266e915f3a024f51
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0xc34922b4 to 0xc4000000
   Booting using the fdt blob at 0xc4000000
   Loading Kernel Image
   Loading Ramdisk to cf1b3000, end cffffe2f ... OK
   Loading Device Tree to cf19c000, end cf1b20f6 ... OK
Applying overlay: '/usr/lib/olinuxino-overlays/stm32mp1/stm32mp1-hdmi.dtbo'...
1870 bytes read in 23 ms (79.1 KiB/s)

Starting kernel ...
#82
STMP1 / STM32MP1 OLinuXino-LIME U-Boot...
Last post by ninevoltz - January 31, 2025, 05:17:20 PM
I shutdown my Lime board yesterday, and when I turned it on this morning, it will not boot. I get the following output on the serial console:

U-Boot SPL 2021.04+olimex-1-20240312.134658 (Mar 12 2024 - 13:48:01 +0000)
Model: STM32MP1 OLinuXino-LIME
Init AXP209 PMIC
VDD Core set to: 1350 mv

I've seen other posts claiming this is a bug in the AXP209 PMIC when enabling the LDO3 output, which causes the PMIC to shut down and freeze the system. Is there a fix for this? I was going to build this board into some test equipment, but I can't do it with this bug. I can sometimes get it to boot if I reduce the supply voltage to 4 volts and wait a minute before powering up.

Also, is there a way to mirror the console output to HDMI so I don't have to hook up a serial cable to view the kernel boot messages?

Thanks!
#83
A64 / Re: Can we upgrade from Debian...
Last post by ilario - January 20, 2025, 01:39:39 PM
Quote from: d4 on January 16, 2025, 10:14:27 PMwhat about upgrading to Debian 12 (Bookworm) ? It was released june 2023

Check out this post about the official support for Debian 12 bookworm: https://www.olimex.com/forum/index.php?topic=9165.msg43583#msg43583
#84
STMP1 / Re: Backup Power for STMP157-O...
Last post by LubOlimex - January 20, 2025, 10:42:50 AM
I am not sure if the super capacitor would provide sufficient power for the board, not sure if it can be connected to the battery charger. Double check that, because if you want to connect it to the battery-charger it will get probably 4.2V or more which might be outside its range.
#85
PCB TECH / Re: Differential Pair Width an...
Last post by LubOlimex - January 20, 2025, 09:48:56 AM
For the 2-layer boards like ESP32-EVB and ESP32-GATEWAY it is physically impossible.

For 4-layer boards like ESP32-POE and ESP32-POE-ISO Ethernet Zdiffis 100 Ohm. This is for the ESP32-POE-ISO board:



#86
STMP1 / Re: Backup Power for STMP157-O...
Last post by Azriel - January 17, 2025, 07:41:10 PM
Thank you so much for your help.
I have eventually opted to go with the 3.6v Cornell Dubilier EDS155Z3R6 supercapacitor:(https://www.cde.com/resources/catalogs/EDS.pdf)
It has a charge capacity of 1.5 Farads which at 3.6v will provide 5.4 AmpSeconds. Seems like more than enough to allow the CPU pack-up its stuff together before power is lost.
I hope this will work Ok...
#87
STMP1 / Re: Backup Power for STMP157-O...
Last post by LubOlimex - January 17, 2025, 09:16:05 AM
There is setup up convertor U10 MT3608 - it creates 5V from the Li-Po. Refer to the schematic.

I can't say about the batteries. There might be other options as long as they work in the same voltage range as Li-Po batteries and the battery can be attached properly to the connector (e.g. respecting + and -) - it should be fine.
#88
NXP / Re: Stackup thickness - iMX8 S...
Last post by LubOlimex - January 17, 2025, 08:52:40 AM
From my experience with RAM memories and Linux-enabled boards - it is not something set in stone, you might calculate but you can also empirically test with different frequency and timings. Just make sure to run long memory stress tests to ensure the settings you've entered are stable.

Also if you have to change the memory in future (due to unavailability, price gouging, etc), it is quite likely these settings would need to be changed again even if you find a memory with the same properties. There is always some difference in behavior when you change the RAM.

QuoteIf you are able to share an email address with me privately, I would be happy to share the PDF version of this for you to add to your official documentation.

You can use support@olimex.com

QuoteUh... I don't really understand this comment. Part of why I needed to ask in the first place is that your DRAM breakout has multiple trace geometries in it - 3.2mil for the SOC fanout, then 5 mil for the meander to the DRAM. It was hard for me to know which one was your target geometry without a trace impedance table.

I am working on making a Trace Impedance Table separately to compare your target impedances against the ones I used.

It is just something we don't have currently ready for sharing and will require extra work, and our team is busy with other projects. Basically what you have to do to measure, someone here has to do the same to confirm the values during designing the board. I will add it in our TODO list and it will probably get published in future just don't expect it asap.

QuoteI'm so glad you pointed that out! This is the tool I'm using to check our own boards. Are you able to share any information on how to run this on the iMX8MP SOM + EVB?

I can't remember if we ever used the tool for testing mainly for calculations, for RAM testing we used memtester (it is the tool available after building the image and doesn't require anything else). So if you managed to get it working on the Olimex board it will be very helpful for others if you can share how you get it working exactly.
#89
STMP1 / Re: Backup Power for STMP157-O...
Last post by Azriel - January 17, 2025, 12:18:45 AM
These are 3.7v batteries. The board is running on 5v. Does the on-board power management chip (AXP209?) make the appropriate conversion?
Also, the proposed batteries have a rather limitted operating temperature range. Are there other options?
#90
A20 / update to Debian 12 (Bookworm)
Last post by d4 - January 16, 2025, 10:22:20 PM
dear Olimex, is there a plan (and a timeline) for availability of images for Debian 12 (Bookworm) for A20 boards?
(I have a A20-OLinuXino-LIME ).
Thanks. a.