Re: [U-Boot] bav335x support broken

2015-03-17 Thread Albert ARIBAUD
Hello Gilles, On Tue, 17 Mar 2015 01:09:04 -0700, Gilles wrote: > Hi Anish, > > Yes, actually my board support is based on an older sitara patch and it works > when applied to v2015.01. But I was mistaken about the problem. > I went back to my original patch applied to v2015.01 and it gives the

Re: [U-Boot] bav335x support broken

2015-03-17 Thread Gilles
Hi Anish, Yes, actually my board support is based on an older sitara patch and it works when applied to v2015.01. But I was mistaken about the problem. I went back to my original patch applied to v2015.01 and it gives the same error but then moves on to SPL and boots ok. http://pastebin.com/A23

Re: [U-Boot] bav335x support broken

2015-03-16 Thread Anish Khurana
Hi Giles, I was browsing the code and it seems it is failing in spl_fat.c file in function spl_load_image_fat_os() and internally calls do_fat_read_at() function. Also I noticed that configuration is very near to am335x( ti sitara) architecture, so probably can try some more configure similar to a

Re: [U-Boot] bav335x support broken

2015-03-15 Thread Gilles
Hi Anish, Thanks for pointing that out. I ran menuconfig and that fixed the compilation issue however, now I'm getting this error when I try to run it: spl_load_image_fat_os: error reading image args, err - -1 I guess I'll fool around with menuconfig see if there is something that should be en

Re: [U-Boot] bav335x support broken

2015-03-14 Thread Albert ARIBAUD
Hello Anish, (apologies for any duplicates. My mail server and the U-Boot ML are playing tricks with my sanity.) On Sat, 14 Mar 2015 23:25:03 +0530, Anish Khurana wrote: > Hi Gilles, > > This u-boot version is having lot of changes , they have enabled > Kconfig similar to Kernel and having GUI

Re: [U-Boot] bav335x support broken

2015-03-14 Thread Anish Khurana
Hi Gilles, This u-boot version is having lot of changes , they have enabled Kconfig similar to Kernel and having GUI support ( make menuconfig) . so if you are gettting error as you mentioned , try to add Device model configurations and SYS malloc() as : Steps 1 make Step 2 make menuconfig Step

[U-Boot] bav335x support broken

2015-03-14 Thread Gilles
Folks, I posted a patch to add support for bav335x boards (a322aad99de4). The patch was tested against v2015.04-rc1 and worked perfectly but somehow, something was introduced since then which breaks the board support. There are two main errors I need to fix before posting another patch but need