USB type-A in imx8mm

2019-12-18 Thread Yazdani, Reyhaneh
Hello everyone, I wanna to bringup USB type-A in imx8mm in Barebox. It is working in U-boot and Linux but not in Barebox. I have compared the source of Kernel and U-boot with Barebox and try to find out the way to bringup the USB type-A, but not successful until now. I would appreciate if someone

Re: imx-usb-loader on imx8mq/mm

2019-12-13 Thread Yazdani, Reyhaneh
Thanks Sascha, I could finally program Barebox on eMMC from u-boot :) Best, Reyhaneh On 12/13/19 8:55 AM, Sascha Hauer wrote: > On Fri, Dec 13, 2019 at 07:20:15AM +0000, Yazdani, Reyhaneh wrote: >> Thanks Lucas. >> >> So, if I have a board which has only eMMC (no SD card

Re: imx-usb-loader on imx8mq/mm

2019-12-12 Thread Yazdani, Reyhaneh
: > Hi Reyhaneh, > > On Do, 2019-12-12 at 10:13 +, Yazdani, Reyhaneh wrote: >> Hello everyone, >> >> I am trying to load Barebox to the imx8mm board via imx-usb-loader, but it >> stops >> in the middle. I think maybe it is because we do not have a f

imx-usb-loader on imx8mq/mm

2019-12-12 Thread Yazdani, Reyhaneh
Hello everyone, I am trying to load Barebox to the imx8mm board via imx-usb-loader, but it stops in the middle. I think maybe it is because we do not have a flash-header file with the static RAM configuration. Does someone have any idea about that? Best, Reyhaneh -- Reyhaneh Yazdani Data Modul AG

Re: initrd in imx8mm

2019-09-09 Thread Yazdani, Reyhaneh
Hi Ahmad, yes, you are right. We can embed initramfs in Kernel. I will try to implement initrd for lib64 in Barebox. Then, I will post it here as a patch :) On 9/6/19 11:33 AM, reyhaneh yazdani wrote: > Hello everyone, > > I have an initramfs file that want to be called via initrd in Barebox. > I

initrd in imx8mm

2019-09-06 Thread Yazdani, Reyhaneh
Hello everyone, I have an initramfs file that want to be called via initrd in Barebox. I have configured my boot script as below: #!/bin/sh global.bootm.image="/mnt/mmc1.0/Image" global.bootm.initrd="/mnt/mmc1.0/initramfs" global.bootm.oftree="/mnt/mmc1.0/Image-fsl-imx8mm-evk.dtb" global.linux.b

Re: eMMC probe in imx8mm

2019-07-11 Thread Yazdani, Reyhaneh
On 7/9/19 11:46 AM, Sascha Hauer wrote: > Hi Reyhaneh, > > On Fri, Jul 05, 2019 at 02:04:08PM +, Yazdani, Reyhaneh wrote: >> Hello everyone, >> >> I have brought up Barebox on imx8mm-evk board. Barebox is programmed on >> SD-card. >> In the Barebox con

Re: eMMC probe in imx8mm

2019-07-11 Thread Yazdani, Reyhaneh
On 7/9/19 11:46 AM, Sascha Hauer wrote: > Hi Reyhaneh, > > On Fri, Jul 05, 2019 at 02:04:08PM +, Yazdani, Reyhaneh wrote: >> Hello everyone, >> >> I have brought up Barebox on imx8mm-evk board. Barebox is programmed on >> SD-card. >> In the Barebox con

eMMC probe in imx8mm

2019-07-05 Thread Yazdani, Reyhaneh
Hello everyone, I have brought up Barebox on imx8mm-evk board. Barebox is programmed on SD-card. In the Barebox console, when I probe eMMC, I will receive I/O error. Therefore, similar to the imx8mq device tree, I added clk node to assign clock-parent and clock-rates of the assigned clock of the

Re: AW: load BL31 on imx8mm and imx8mq

2019-06-26 Thread Yazdani, Reyhaneh
On 6/26/19 12:25 PM, Rouven Czerwinski wrote: >> And what is the reason behind decreasing 16 from returning address: >> >> MX8MQ_ATF_BL33_BASE_ADDR - 16 >> >> I removed "16" for im8mq in Barebox and still works. > > This puts some distance between the stack and your execution address. > As long a

AW: load BL31 on imx8mm and imx8mq

2019-06-26 Thread Yazdani, Reyhaneh
sday, June 26, 2019 11:28 AM An: Yazdani, Reyhaneh Cc: barebox@lists.infradead.org Betreff: Re: load BL31 on imx8mm and imx8mq On Wed, 2019-06-26 at 08:46 +0000, Yazdani, Reyhaneh wrote: > Hello everyone, > > > On the process of bring-up imx8mm board, I am at the point that load > bl

load BL31 on imx8mm and imx8mq

2019-06-26 Thread Yazdani, Reyhaneh
Hello everyone, On the process of bring-up imx8mm board, I am at the point that load bl31 and jump to ATF.Upon exit from ATF's initialization routine, the execution level should be EL2. My question is about imx8mq_atf_load_bl31 function. After copy BL31 into OCRAM address, the function sets up t

Re: Bringup Barebox on imx8mm

2019-06-25 Thread Yazdani, Reyhaneh
6/14/19 9:11 AM, Andrey Smirnov wrote: > On Thu, Jun 13, 2019 at 8:14 AM Yazdani, Reyhaneh > wrote: >> >> Hello Everyone, >> >> I am trying to bringup Barebox on i.MX8MM-evk. >> >> I have followed all the commits related to the i.MX8MQ and added proper

Re: Bringup Barebox on imx8mm

2019-06-17 Thread Yazdani, Reyhaneh
On 6/14/19 9:11 AM, Andrey Smirnov wrote: > On Thu, Jun 13, 2019 at 8:14 AM Yazdani, Reyhaneh > wrote: >> >> Hello Everyone, >> >> I am trying to bringup Barebox on i.MX8MM-evk. >> >> I have followed all the commits related to the i.MX8MQ and added p

Bringup Barebox on imx8mm

2019-06-13 Thread Yazdani, Reyhaneh
Hello Everyone, I am trying to bringup Barebox on i.MX8MM-evk. I have followed all the commits related to the i.MX8MQ and added proper files and changes for i.MX8MM-evk board. The problem is Barebox stops at "ddrc_phy_wait_training_complete" function, exactly at sub-function "ddrc_phy_get_messag

cortex-m4 in Barebox

2019-02-12 Thread Yazdani, Reyhaneh
Hello everyone, I am using imx8m-evk board. To boot a cortex-m4 in the system, in u-boot, there is a bootaux command, which runs the m4-image and boot cortex-m4. Is there any command available in Barebox to boot m4? Totally, what is available in Barebox regarding cortex-m4? Thanks in advance, B

Re: signed HDMI firmware in imx8mq image

2019-01-23 Thread Yazdani, Reyhaneh
On Wed, Jan 16, 2019 at 1:34 AM Lucas Stach wrote: >> >> Hi Reyhaneh, >> >> Am Mittwoch, den 16.01.2019, 08:48 +0000 schrieb Yazdani, Reyhaneh: >>> Every one, >>> >>> In order to build a Barebox image to boot imx8mq-evk with HDMI, I have >&g

Re: signed HDMI firmware in imx8mq image

2019-01-17 Thread Yazdani, Reyhaneh
On 1/16/19 9:30 PM, Andrey Smirnov wrote: > On Wed, Jan 16, 2019 at 1:34 AM Lucas Stach wrote: >> >> Hi Reyhaneh, >> >> Am Mittwoch, den 16.01.2019, 08:48 +0000 schrieb Yazdani, Reyhaneh: >>> Every one, >>> >>> In order to build a Barebox im

Re: signed HDMI firmware in imx8mq image

2019-01-17 Thread Yazdani, Reyhaneh
6.01.2019, 08:48 + schrieb Yazdani, Reyhaneh: >> Every one, >> >> In order to build a Barebox image to boot imx8mq-evk with HDMI, I have tried >> to >> tell Barebox about the embedded signed HDMI firmware, which is necessary for >> provided kernel image by NXP.

signed HDMI firmware in imx8mq image

2019-01-16 Thread Yazdani, Reyhaneh
Every one, In order to build a Barebox image to boot imx8mq-evk with HDMI, I have tried to tell Barebox about the embedded signed HDMI firmware, which is necessary for provided kernel image by NXP. for this matter, I added the below line into the arch/arm/boards/nxp-imx8mq-evk/flash-header-imx8mq

Re: build barebox for imx8mqevk

2019-01-15 Thread Yazdani, Reyhaneh
Hi, Thank you. Now I could build the Barebox :) Best, Reyhaneh On 1/11/19 12:13 PM, Sascha Hauer wrote: > Hi, > > On Fri, Jan 11, 2019 at 07:53:15AM +, Yazdani, Reyhaneh wrote: >> Hello everyone, >> >> I am going to build Barebox for my imx8mq evaluation kit

build barebox for imx8mqevk

2019-01-10 Thread Yazdani, Reyhaneh
target '/development/gitarchives/barebox/arch/arm64/Makefile'. Stop. I would appreciate if you help me, how to compile Barebox for imx8. Thanks in advance. Best regards, Reyhaneh Yazdani -- Reyhaneh Yazdani Data Modul AGTEL:+49-89-56017-154 Embedded d