Re: i.MX6Q ldb after 2019.02

2020-11-13 Thread gianluca
On 11/13/20 9:51 AM, Alexander Shiyan wrote: Hello All. I am having problems updating the barebox from version 2019.02 to version 2020.10. The barebox i.MX6 CLK driver now uses several patches compared to the previous version to fix the err009219 bug, and the display no more works as before. I

MMC hardware partitioning

2019-08-27 Thread gianluca
Hello everyone! I am wondering if there is some way to enable the partition protection for eMMC partition (usually to avoid data corruption due to a powerloss) in Barebox, as seen is mmc command in the bootloader counterpart U-Boot (as reference see u-boot/cmd/mmc.c ). Any help will be very t

Re: MMC hardware partitioning

2019-08-28 Thread gianluca
On 08/28/2019 12:45 PM, Sascha Hauer wrote: Hi Gianluca, On Tue, Aug 27, 2019 at 03:38:46PM +0200, gianluca wrote: Hello everyone! I am wondering if there is some way to enable the partition protection for eMMC partition (usually to avoid data corruption due to a powerloss) in Barebox, as seen

Barebox 2020.01.0 and Device Tree from Linux Kernel 5.4

2020-01-24 Thread gianluca
Hello list! I was wondering if the device tree from (latest) Linux Kernel can be used when building Barebox 2020.01.0 for iMX6 compatible custom board. For sure the include path and other stuff are quite different (kernel and barebox), so I am pretty sure it will fail to build with some sort

Barebox as first and second stage bootloader

2020-02-26 Thread gianluca
internal SRAM and the .img as the second stage bootloader running from external SDRAM DDR??? Is there somebody who is working with STM32 Cube Programmer or DFU-Utils to obtain this boot?? Regards, Gianluca Renzi -- Eurek s.r.l. | Electronic Engineering| http

Re: Barebox as first and second stage bootloader

2020-02-26 Thread gianluca
On 02/26/2020 03:28 PM, Ahmad Fatoum wrote: Hello, On 2/26/20 12:57 PM, gianluca wrote: Hello, I was wondering if it possible to program Barebox (2020.01 or later) as first and second stage bootloader using the STM32 Programmer CLI tool. FSBL is not supported at the moment. We use TF-A for

Re: Barebox as first and second stage bootloader

2020-02-26 Thread gianluca
On 02/26/2020 04:08 PM, Ahmad Fatoum wrote: Hello, On 2/26/20 3:46 PM, gianluca wrote: Not sure how this relates to booting over USB? You shouldn't need any fuses burnt (but you can probably burn some to stop fallback to DFU) I was trying to say that I didn't know how the f

Re: Barebox as first and second stage bootloader

2020-02-27 Thread gianluca
On 02/27/2020 12:51 PM, Ahmad Fatoum wrote: Hello, please keep the barebox mailing list in CC. On 2/27/20 12:44 PM, gianluca wrote: ST's TF-A fork does. Upstream TF-A doesn't. The Programmer software uses vendor TF-A. I've found the forked ST's TF-A repo:

Re: Barebox as first and second stage bootloader

2020-02-28 Thread gianluca
On 02/28/2020 08:50 AM, gianluca wrote: Now it compiles with the gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (GNU Tools for Arm Embedded Processors 7-2018-q2-update). Built build/stm32mp1/debug/tf-a-stm32mp157c-dk2.bin successfully Generated build/stm32mp1

STM32MP1 SoC support in latest Barebox

2019-03-22 Thread gianluca
Hello list! I need a __very quick__ answer to this subject, because a customer wants to migrate from a iMX28 based board to a STM32MP1. Actually the iMX28 board was developed by me, 6 years ago and it has Barebox 2013.02, Linux Kernel 3.12.1 and a Debian Wheezy. It runs from eMMC, but it can

Re: STM32MP1 SoC support in latest Barebox

2019-03-22 Thread gianluca
On 03/22/2019 09:07 AM, gianluca wrote: I need a __very quick__ answer to this subject, because a customer wants to migrate from a iMX28 based board to a STM32MP1. Now I've just clone the git repo from pengutronix, and a mere: grep -r stm32mp1 * dts/Bindings/mailbox/stm32-ipc

Information regarding iMX6 QuadPlus and iMX6 DualLite

2017-03-23 Thread gianluca
Hello, I was looking around to have a common Barebox binary to bootup two boards based on iMX6 SoC. The PCB are at 99.8% the same. PCB#0 has iMX6QP and a VDDCore of 1.38V (LDO enabled) PCB#1 has iMX6DL and a VDDCore of 1.32V (LDO enabled) I was wondering how other boards (like Nitrogen6x) does

Re: Information regarding iMX6 QuadPlus and iMX6 DualLite

2017-03-23 Thread gianluca
On 03/23/2017 04:15 PM, Lucas Stach wrote: Hi, Am Donnerstag, den 23.03.2017, 16:04 +0100 schrieb gianluca: Hello, I was looking around to have a common Barebox binary to bootup two boards based on iMX6 SoC. The PCB are at 99.8% the same. PCB#0 has iMX6QP and a VDDCore of 1.38V (LDO enabled

Re: Information regarding iMX6 QuadPlus and iMX6 DualLite

2017-03-23 Thread gianluca
On 03/23/2017 05:59 PM, Lucas Stach wrote: Am Donnerstag, den 23.03.2017, 17:56 +0100 schrieb gianluca: On 03/23/2017 04:15 PM, Lucas Stach wrote: Hi, Am Donnerstag, den 23.03.2017, 16:04 +0100 schrieb gianluca: Hello, I was looking around to have a common Barebox binary to bootup two boards

New Board i.MX6 Dual Lite based

2017-06-08 Thread gianluca
Hello, I would like to know if somebody has never faced a strange issue using Barebox (in detail the version I am actually using is 2017.02). After running the the flash-header for memory using the xlsx file from FreeScale to setup the memory controller for iMX6 Dual Lite, the boot from the s

Re: New Board i.MX6 Dual Lite based

2017-06-09 Thread gianluca
On 06/09/2017 08:15 AM, Sascha Hauer wrote: Hi Gianluca, On Thu, Jun 08, 2017 at 05:06:46PM +0200, gianluca wrote: Hello, I would like to know if somebody has never faced a strange issue using Barebox (in detail the version I am actually using is 2017.02). After running the the flash-header

Re: New Board i.MX6 Dual Lite based

2017-06-09 Thread gianluca
On 06/09/2017 09:25 AM, gianluca wrote: i2c0: timeout waiting for I2C bus busy ek360_read_eeprom :Error on reading eeprom @ 0 ek360_read_eeprom :Error on reading bytes. ek360_detect_hw :** ERROR on READ EEPROM BOARD ret: -1 Hit CTRL-C key to stop autoboot: 1 Another issue is the i2c bus

Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

2017-06-19 Thread gianluca
Hello Lucas, Sascha and the barebox mailing list guys! I am back with the new boards batch release (now QuadPlus and DualLite iMX6) Now I adapted barebox to fit both processors and it works quite well. From Barebox point-of-view the ldb node of the device-tree is using three timings and they a

Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

2017-06-21 Thread gianluca
On 06/21/2017 08:32 AM, Sascha Hauer wrote: Hi Gianluca, On Mon, Jun 19, 2017 at 05:49:41PM +0200, gianluca wrote: Hello Lucas, Sascha and the barebox mailing list guys! I am back with the new boards batch release (now QuadPlus and DualLite iMX6) Now I adapted barebox to fit both processors

Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

2017-06-21 Thread gianluca
On 06/21/2017 01:50 PM, Lucas Stach wrote: The fbdev emulation in the imx-drm driver defaults to 16bpp. If you want to change this you need to provide the module parameter "legacyfb_depth=32". Debian GNU/Linux 8 edelin ttymxc2 edelin login: root Password: Linux edelin 4.9.7-EK20170621 #1 S

Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

2017-06-23 Thread gianluca
On 06/21/2017 05:30 PM, Lucas Stach wrote: Am Mittwoch, den 21.06.2017, 17:18 +0200 schrieb gianluca: On 06/21/2017 01:50 PM, Lucas Stach wrote: root@edelin:~# cat /proc/cmdline console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 \ > root=/dev/mmcblk1p3 fec.macaddr=0

Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

2017-06-26 Thread gianluca
On 06/23/2017 11:45 AM, gianluca wrote: On 06/21/2017 05:30 PM, Lucas Stach wrote: As you can see imx-drm.legacy_depth=32 is passed to the kernel from bootloader. The module is called "imxdrm" without a dash, so the correct way to specify the parameter on the comma

Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

2017-06-26 Thread gianluca
On 06/26/2017 10:46 AM, Lucas Stach wrote: Am Montag, den 26.06.2017, 10:40 +0200 schrieb gianluca: During boot I can see no output on the framebuffer on the QuadPlus and the kernel log have those messages: [4.914737] [ cut here ] [4.914769] WARNING: CPU: 1 PID

Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

2017-06-29 Thread gianluca
On 06/29/2017 10:37 AM, Lucas Stach wrote: Am Mittwoch, den 28.06.2017, 18:55 +0200 schrieb gianluca: On 06/26/2017 03:28 PM, gianluca wrote: Your kernel is too old. Full support for the QuadPlus is a really recent addition. Either update your kernel to 4.12-rc, or add "clk_ignore_unuse

Re: Kernel device tree gets modified with bootm command when CONFIG_OFDEVICE is enabled

2017-10-06 Thread gianluca
plethora of boards based on the same root-hardware, than having a plethora of device-trees perfectly adapted with your plethora of devices. Do you agree? Regards, Gianluca -- Eurek s.r.l. | Electronic Engineering| http://www.eurek.it via Celletta 8/B, 400

iMX6Q First boot

2016-02-25 Thread gianluca
onsole is not working... Where I am wrong??? -- Eurek s.r.l. | Electronic Engineering| http://www.eurek.it via Celletta 8/B, 40026 Imola, Italy | Phone: +39-(0)542-609120 p.iva 00690621206 - c.f. 04020030377 | Fax: +39-(0)542-609212 /* * Copyright (C) 2016 Gianluca Renzi, Eurek Elettronic

Re: iMX6Q First boot

2016-02-26 Thread gianluca
On 02/25/2016 08:27 PM, Andrey Smirnov wrote: On Thu, Feb 25, 2016 at 5:50 AM, gianluca wrote: Hello list, I am trying to bootup my custom designed board (actually a rev.0, but I know it will need a rev.1 ASAP ;-). I started with the latest (2016.02) barebox version, adding my board to the

iMX6 second boot: from SDCard

2016-03-01 Thread gianluca
Hello everybody, first of all, I would say a BIG thank to everybody point me out on have a USB-Serial Downloader working and Barebox up and running in my custom iMX6Q based board. Right now I wish to know what can be done or not done to fireup the board from attached microSD card which is wor

Re: iMX6 second boot: from SDCard [SOLVED]

2016-03-01 Thread gianluca
On 03/01/2016 12:18 PM, gianluca wrote: Hello everybody, first of all, I would say a BIG thank to everybody point me out on have a USB-Serial Downloader working and Barebox up and running in my custom iMX6Q based board. Right now I wish to know what can be done or not done to fireup the board

Ethernet PHY KSZ9031 is not working

2016-03-03 Thread gianluca
up Called ksz9031rn_phy_fixup Exit dhcp: Network is down And all leds in the RJ-45 JackMag are still turned off. I don't know where I can check if something goes wrong. May be a failure on board, but at this time this board is the ONLY BOARD I can use. Can somebody help me out B

Re: Ethernet PHY KSZ9031 is not working

2016-03-03 Thread gianluca
lektronic named: Artikelnummer / part number : Bezeichnung : description : 749921A LAN-Übertrager WE-RJ45LAN 10/100/1000 BaseT LAN-Transformer WE-RJ45LAN 10/100/1000 BaseT Best Regards, Gianluca -- Eurek s.r.l. | Electronic Engineering| http://www.eurek.it v

Re: Ethernet PHY KSZ9031 is not working [SOLVED]

2016-03-04 Thread gianluca
On 03/03/2016 04:21 PM, Antony Pavlov wrote: On Thu, 3 Mar 2016 14:47:26 +0100 gianluca wrote: On 03/03/2016 02:52 PM, Antony Pavlov wrote: Before digging on the Datasheet for the explanation of all MII PHY registers, here is the output of the command you wrote above: barebox@EK360 Eurek

Linux does not boot, unrecognized/unsupported machine ID (r1 = 0x00000000).

2016-03-08 Thread gianluca
s the issue??? Regards, -- Eurek s.r.l. | Electronic Engineering| http://www.eurek.it via Celletta 8/B, 40026 Imola, Italy | Phone: +39-(0)542-609120 p.iva 00690621206 - c.f. 04020030377 | Fax: +39-(0)542-609212 /* * $Id: imx6q-eurek-ek360.dts,v 1.5 2016/

Re: v2016.03.0

2016-03-10 Thread gianluca
nux on physical CPU 0x0 Linux version 4.5.0-rc6-EK20160302 (gianluca@gianlinux) (gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-24) ) #13 SMP Thu Mar 10 18:37:28 CET 2016 CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing ins

Re: Loading kernel issues

2016-10-21 Thread gianluca
On 10/21/2016 09:54 AM, Javier Fileiv wrote: Thanks Juergen, shoul I short them between them, short them to GND or short them to VDD? Short them together. Does not care if they are tied to GND or VCC, the results are surely invalid. ;-) Best regards, -- Eurek s.r.l.

Re: No release for December

2016-12-30 Thread gianluca
s world!!! P.S.: I can give you a hint: if you are planning to have another kid, remember that two is not the double of one. Taliking about kids, two is the 2 powered at 2 or if you prefer in binary form it 10 times 01. O__o Happy new year 2017 and enjoy those _VERY_QUICK_ growing seasons. Gi

Re: No release for December

2017-01-09 Thread gianluca
On 01/09/2017 09:32 AM, Sascha Hauer wrote: On Fri, Dec 30, 2016 at 09:30:15AM +0100, gianluca wrote: On 12/29/2016 10:13 AM, Sascha Hauer wrote: Hi All, As you probably already have noticed I was very quiet the last month. The reason was that I was on parental leave for december. Apart from

Using LVDS in a iMX6Q/D from Barebox

2017-02-09 Thread gianluca
Hello, I would like to know if there is a clear way on using the lvds pins to drive a LVDS display in a custom made board, based on iMX6Q (in the near future the iMX6Dual). Actually it boots using Barebox 2017.01 and if there is a HDMI display it uses without hassle. My init scripts are loa

Re: Using LVDS in a iMX6Q/D from Barebox

2017-02-14 Thread gianluca
On 02/10/2017 08:35 AM, Sascha Hauer wrote: Hi Gianluca, On Thu, Feb 09, 2017 at 03:37:41PM +0100, gianluca wrote: Hello, I would like to know if there is a clear way on using the lvds pins to drive a LVDS display in a custom made board, based on iMX6Q (in the near future the iMX6Dual). I

Re: Using LVDS in a iMX6Q/D from Barebox

2017-02-14 Thread gianluca
On 02/14/2017 11:32 AM, gianluca wrote: On 02/10/2017 08:35 AM, Sascha Hauer wrote: Hi Gianluca, On Thu, Feb 09, 2017 at 03:37:41PM +0100, gianluca wrote: Hello, I would like to know if there is a clear way on using the lvds pins to drive a LVDS display in a custom made board, based on iMX6Q

Re: Using LVDS in a iMX6Q/D from Barebox

2017-02-15 Thread gianluca
On 02/14/2017 11:59 AM, gianluca wrote: On 02/14/2017 11:32 AM, gianluca wrote: On 02/10/2017 08:35 AM, Sascha Hauer wrote: Hi Gianluca, On Thu, Feb 09, 2017 at 03:37:41PM +0100, gianluca wrote: Hello, I would like to know if there is a clear way on using the lvds pins to drive a LVDS

Re: Using LVDS in a iMX6Q/D from Barebox

2017-02-15 Thread gianluca
On 02/15/2017 12:51 PM, Sascha Hauer wrote: On Tue, Feb 14, 2017 at 11:32:44AM +0100, gianluca wrote: On 02/10/2017 08:35 AM, Sascha Hauer wrote: Hi Gianluca, On Thu, Feb 09, 2017 at 03:37:41PM +0100, gianluca wrote: Hello, I would like to know if there is a clear way on using the lvds pins

Re: Using LVDS in a iMX6Q/D from Barebox

2017-02-16 Thread gianluca
On 02/16/2017 08:28 AM, Sascha Hauer wrote: On Wed, Feb 15, 2017 at 03:34:55PM +0100, gianluca wrote: First of all hdmi and ldb node are "disabled" by default. Then I am looking for any eeprom in the lvds connector I have. If it is found, check the phandle "native-mode" of

Re: Using LVDS in a iMX6Q/D from Barebox

2017-02-16 Thread gianluca
On 02/16/2017 08:28 AM, Sascha Hauer wrote: On Wed, Feb 15, 2017 at 03:34:55PM +0100, gianluca wrote: On 02/15/2017 12:51 PM, Sascha Hauer wrote: On Tue, Feb 14, 2017 at 11:32:44AM +0100, gianluca wrote: On 02/10/2017 08:35 AM, Sascha Hauer wrote: If no eeprom is found activate the status of

Re: Using LVDS in a iMX6Q/D from Barebox

2017-02-17 Thread gianluca
On 02/16/2017 04:50 PM, Lucas Stach wrote: Am Donnerstag, den 16.02.2017, 15:43 +0100 schrieb gianluca: On 02/16/2017 08:28 AM, Sascha Hauer wrote: On Wed, Feb 15, 2017 at 03:34:55PM +0100, gianluca wrote: On 02/15/2017 12:51 PM, Sascha Hauer wrote: On Tue, Feb 14, 2017 at 11:32:44AM +0100

Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

2017-02-21 Thread gianluca
driver registration due to a panel/bridge missing. In the config of linux kernel I have (as imx_v6_v7_defconfig) all drm and simple panel enabled. What is missing??? Best regards, Gianluca Forwarded Message Subject: Barebox 2017.02 works great but no Linux Framebuffer

Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

2017-02-21 Thread gianluca
On 02/21/2017 02:04 PM, gianluca wrote: Hello everybody! I am fighting to enable ldb in Linux 4.9.7. In barebox the SAME device-tree is modified by barebox to enable/disable the ldb or hdmi depending on what is found. During Linux bootup with HDMI only, it works with no hassle. If booting

Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

2017-02-21 Thread gianluca
On 02/21/2017 04:03 PM, Lucas Stach wrote: I am fighting to enable ldb in Linux 4.9.7. In barebox the SAME device-tree is modified by barebox to enable/disable the ldb or hdmi depending on what is found. During Linux bootup with HDMI only, it works with no hassle. If booting with ldb it does no

Re: Using LVDS in a iMX6Q/D from Barebox

2017-02-22 Thread gianluca
On 02/22/2017 09:00 AM, Sascha Hauer wrote: On Fri, Feb 17, 2017 at 04:38:37PM +0100, gianluca wrote: On 02/16/2017 04:50 PM, Lucas Stach wrote: Am Donnerstag, den 16.02.2017, 15:43 +0100 schrieb gianluca: On 02/16/2017 08:28 AM, Sascha Hauer wrote: On Wed, Feb 15, 2017 at 03:34:55PM +0100

Re: Using LVDS in a iMX6Q/D from Barebox

2017-02-22 Thread gianluca
/* DISPLAY 1280x800 AMPIRE AM1280800N3TZ */ am128080n3tz: am1280800n3tz { clock-frequency = <7100>; hactive = <1280>; vactive = <800>; hback-porch = <50>; hfront-porch = <50>;

Re: Using LVDS in a iMX6Q/D from Barebox

2017-02-23 Thread gianluca
On 02/22/2017 10:40 AM, Sascha Hauer wrote: On Wed, Feb 22, 2017 at 09:26:25AM +0100, gianluca wrote: On 02/22/2017 09:00 AM, Sascha Hauer wrote: On Fri, Feb 17, 2017 at 04:38:37PM +0100, gianluca wrote: On 02/16/2017 04:50 PM, Lucas Stach wrote: 2- look for a common timings from an