Re: [U-Boot] u-boot atags help

2017-04-02 Thread Andy Ng
i will use fdt commands to pass down the serial version of the board.. On Sun, Apr 2, 2017 at 6:07 PM, Andy Ng wrote: > Hi, > > I am using u-boot 2016-07 for imx6. My linux kernel is 4.1.20. I am > using a board from Freescale SabreSD with the big screen. > The problem i noticed

[U-Boot] u-boot atags help

2017-04-02 Thread Andy Ng
Hi, I am using u-boot 2016-07 for imx6. My linux kernel is 4.1.20. I am using a board from Freescale SabreSD with the big screen. The problem i noticed is that in the kernel /proc/cpuinfo the "Revision" and Serial " comes up with "0" The kernel gets those values from atags, but when FDT is used

[U-Boot] imx6 u-boot update nand ecc issues.

2017-03-08 Thread Andy Ng
Hi I did an update from 2013-10 imx6 u-boot to 2016-03, and when I updated the u-boot, u-boot can't read the old environment regions. NAND read from offest 11 failed -74 I have checked the code for 2016-03 and there are a lot of ecc changes in mxs_nand.c Was an ecc bug in 2013-10? Updating

Re: [U-Boot] UBI attach issues

2016-02-01 Thread Andy Ng
um 09:58 schrieb Andy Ng: >> >> Dear u-boot team, >> >> Occasionally, I get corrupted rootfs if the system power goes away >> while u-boot is attaching the root file system in order to fetch the >> kernel. >> >> I am using imx6 Solo and u-boot 2013-10.

[U-Boot] UBI attach issues

2016-02-01 Thread Andy Ng
Dear u-boot team, Occasionally, I get corrupted rootfs if the system power goes away while u-boot is attaching the root file system in order to fetch the kernel. I am using imx6 Solo and u-boot 2013-10. Is there any way to stop uboot messing up the file system while making attachment of UBI? Doe

[U-Boot] Imx6 u-boot clock frequency and wrong lpj in the kernel

2015-01-30 Thread Andy Ng
Dear colleagues, I faced a problem lately with the udelay function in the Linux kernel. udelay uses loops_per_jiffy constant for its loops. lpj is calculated during the init phase of the kernel, and then the calibrate function is removed. The boot loader uses 792MHz and when the kernel comes up d

[U-Boot] imx6 booting from NAND with bad block 0

2014-06-02 Thread Andy Ng
I have an imx6 solo system and currently I am using the SD card to boot the u-boot. I would like to make it boot from NAND, but my first Block in NAND is a bad one. Do I need u-boot with NAND SPL support? Best regards Andy ___ U-Boot mailing list U-Boot

[U-Boot] NAND SPL on imx6

2014-03-07 Thread Andy Ng
Dear colleagues, Has anyone tried to build NAND SPL support on imx6. Does it work? Best regards, Andy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] imx6 SION bit has to be on for the pins that are used as ENET_REF_CLK

2014-02-12 Thread Andy Ng
Signed-off-by: Andy Ng --- arch/arm/include/asm/arch-mx6/mx6dl_pins.h |6 +++--- arch/arm/include/asm/arch-mx6/mx6q_pins.h |6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h

Re: [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected

2014-02-12 Thread Andy Ng
Shall I apply SION bit on imx6Q files too and bring all the changes under a single patch? Or there is problem with the existing one? Best regards A On Wed, Feb 12, 2014 at 12:57 PM, Andy Ng wrote: > From 45da8256deadb5c5cf38311ed5470e4ba5b20570 Mon Sep 17 00:00:00 2001 > From: Andy Ng

Re: [U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected

2014-02-12 Thread Andy Ng
>From 45da8256deadb5c5cf38311ed5470e4ba5b20570 Mon Sep 17 00:00:00 2001 From: Andy Ng Date: Wed, 12 Feb 2014 12:40:47 + Subject: [PATCH] SION bit has to be on for the pins that are used as ENET_REF_CLK Signed-off-by: Andy Ng --- arch/arm/include/asm/arch-mx6/mx6dl_pins.h |6 +++---

Re: [U-Boot] On imx6 Solo the mmc fails to read for a second time..

2014-01-25 Thread Andy Ng
I have fixed the problem. The imx6 pads accessing the SD needed some better calibration in my board file Thank you A On Sat, Jan 25, 2014 at 2:39 PM, Andy Ng wrote: > Dear colleagues, > > The u-boot freezes when I try to read mmc for second time. u-boot 2013-10, > imx6 Solo CPU

[U-Boot] On imx6 Solo the mmc fails to read for a second time..

2014-01-25 Thread Andy Ng
Dear colleagues, The u-boot freezes when I try to read mmc for second time. u-boot 2013-10, imx6 Solo CPU One the first read I do have also an error: mx6s > run bootmmc reading uImage Error reading cluster ** Unable to read file uImage ** ## Booting kernel from Legacy Image at 1200 ... Im

[U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected

2014-01-19 Thread Andy Ng
The ENET_REF_CLK has to loopback: the patch was produced from u-boot 2013-10 diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h index 7851eb1..9c18847 100644 --- a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h +++ b/arch/arm/include/asm/arch-mx6/mx6d

Re: [U-Boot] imx6 Solo and LAN8720

2014-01-19 Thread Andy Ng
, 0) Thank you, A On Thu, Jan 16, 2014 at 9:37 PM, Andy Ng wrote: > Dear colleagues, > > I have setup a LAN8720 phy for my imx6Solo/DL custom board but no packets > coming out. > I can see 50MHz going into the phy from the REF_OUT Pin of the SOLO, I can > read the phy I

Re: [U-Boot] imx6 Solo and LAN8720

2014-01-17 Thread Andy Ng
addr + size); if (readw(&fec->tbd_base[fec->tbd_index].status) & FEC_TBD_READY) ret = -EINVAL; debug("fec_send: status 0x%x index %d ret %i\n", readw(&fec->tbd_base[fec->tbd_index].status), fec->tbd_index, ret);

Re: [U-Boot] imx6 Solo and LAN8720

2014-01-16 Thread Andy Ng
Thank you for that, I had a look at mx6slevk and I can't find any major differences. Solo light is using a fec-light with some extra registers. Regards, A On Thu, Jan 16, 2014 at 11:05 PM, Fabio Estevam wrote: > On Thu, Jan 16, 2014 at 7:37 PM, Andy Ng wrote: > > Dear colleag

Re: [U-Boot] imx6 Solo and LAN8720

2014-01-16 Thread Andy Ng
An update: I have enabled debug in the u-boot and I get the following error: fec_send: status 0x8c00 index 0 ret -22 On Thu, Jan 16, 2014 at 9:37 PM, Andy Ng wrote: > Dear colleagues, > > I have setup a LAN8720 phy for my imx6Solo/DL custom board but no packets > coming out.

[U-Boot] imx6 Solo and LAN8720

2014-01-16 Thread Andy Ng
Dear colleagues, I have setup a LAN8720 phy for my imx6Solo/DL custom board but no packets coming out. I can see 50MHz going into the phy from the REF_OUT Pin of the SOLO, I can read the phy ID using the u-boot MDIO commands but when I do ftp or ping nothing comes out. mx6s > mdio list FEC: 0 -

[U-Boot] TI Davinci and KSZ8873MLL

2013-03-28 Thread Andy Ng
Hi, Does anyone know what TI Davinci board is using the KSZ8873 switch? Thank you Andy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] TI's OMAPL138 and KSZ8876 switch on u-boot

2013-03-16 Thread Andy Ng
anyone have use KSZ8873MLL in the u-boot? Any assistance will be very much appreciated. Best regards, A On Fri, Mar 15, 2013 at 6:23 AM, Albert ARIBAUD wrote: > Hi Andy, > > On Thu, 14 Mar 2013 23:55:14 +0000, Andy Ng > wrote: > > > Hello > > > > I am trying to ge

[U-Boot] TI's OMAPL138 and KSZ8876 switch on u-boot

2013-03-14 Thread Andy Ng
Hello I am trying to get a u-boot going on OMAPL138 with three port switch KSZ8873FL, that has one MII port attached to the OMAP and two 10/100BASE-FX transceivers. Up to now, the ARP packets are going out and received by the host when doing a tftp download, but the return packets from the host do