Re: Loading kernel issues

2016-10-21 Thread Javier Fileiv
I thought that, by default, the NOR bootloader was setting it's config files in NOR as well. But it seems that both bootloader are getting the same config file. I will switch to NOR, short the two right data lines, short them, start the mini board. And at that point I will change back the

Re: Loading kernel issues

2016-10-21 Thread Sascha Hauer
On Fri, Oct 21, 2016 at 09:53:45AM +0200, Juergen Borleis wrote: > Hi Javier, > > On Friday 21 October 2016 09:41:15 Javier Fileiv wrote: > > I was looking to buy an ARM9 Jtag because it's what I > > though... I would need a JTAG. > > > > Regarding shorting the data lines... do you know exactly

Re: Loading kernel issues

2016-10-21 Thread Juergen Borleis
Hi Javier, On Friday 21 October 2016 09:54:04 Javier Fileiv wrote: > shoul I short them between them, short them to GND or > short them to VDD? "short two of them" means between them. D2 and D3 for example... Cheers, Juergen -- Pengutronix e.K.                              | Juergen Borleis  

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: Loading kernel issues

2016-10-21 Thread Javier Fileiv
Thanks Juergen, shoul I short them between them, short them to GND or short them to VDD? Thank you again 2016-10-21 9:53 GMT+02:00 Juergen Borleis : > Hi Javier, > > On Friday 21 October 2016 09:41:15 Javier Fileiv wrote: >> I was looking to buy an ARM9 Jtag because it's

Re: Loading kernel issues

2016-10-21 Thread Juergen Borleis
Hi Javier, On Friday 21 October 2016 09:41:15 Javier Fileiv wrote: > I was looking to buy an ARM9 Jtag because it's what I > though... I would need a JTAG. > > Regarding shorting the data lines... do you know exactly what would I > need to do? Reading the datasheet of the used NAND device, find

Re: Loading kernel issues

2016-10-21 Thread Javier Fileiv
Hello Juerguen, I was looking to buy an ARM9 Jtag because it's what I though... I would need a JTAG. Regarding shorting the data lines... do you know exactly what would I need to do? Regarding JTAG, which ones are the steps? Thank you so much 2016-10-21 9:39 GMT+02:00 Juergen Borleis

Re: Loading kernel issues

2016-10-21 Thread Juergen Borleis
Hi Javier, On Thursday 20 October 2016 19:59:54 Javier Fileiv wrote: > ups... I think Ive broken everything... I just put at the end of the > env/config file "boot nand" and now is looping and at some point it > says "ERROR: out of memory". > Another thing... I changed vivibootloader in NOR for

Re: Loading kernel issues

2016-10-20 Thread Javier Fileiv
ups... I think Ive broken everything... I just put at the end of the env/config file "boot nand" and now is looping and at some point it says "ERROR: out of memory". Another thing... I changed vivibootloader in NOR for the barebox, and even if I change to NOR it's looping again and again... What

Re: Loading kernel issues

2016-10-20 Thread Javier Fileiv
Thank you very much maybe I just to put on /env/config a "boot nand" line... I'll try it. Regards 2016-10-20 11:13 GMT+02:00 Juergen Borleis : > Hi Javier, > > On Wednesday 19 October 2016 20:18:38 Javier Fileiv wrote: >> just in case...my /env/config as well >> [...] >

Re: Loading kernel issues

2016-10-20 Thread Juergen Borleis
Hi Javier, On Wednesday 19 October 2016 20:18:38 Javier Fileiv wrote: > just in case...my /env/config as well > [...] Sorry, no idea. I do not even have the hardware anymore, so I cannot test it. Keep a look into the "env/bin/boot" script, what it tries to do with the configuration from your

Re: Loading kernel issues

2016-10-19 Thread Javier Fileiv
just in case...my /env/config as well mini2440:/ cat /env/config #!/bin/sh machine=mini2440 user= # use 'dhcp' to do dhcp in barebox and in kernel # use 'none' if you want to skip kernel ip autoconfiguration ip=dhcp # or set your networking parameters here #eth0.ipaddr=a.b.c.d

Re: Loading kernel issues

2016-10-19 Thread Javier Fileiv
Hello Juergen, Here is my power up output, thanks you very much Terminal ready barebox 2011.05.0-ptx-2014.11.0 (Oct 13 2016 - 21:53:08) Board: Mini 2440 NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit) Bad block table found at page 524224, version 0x01 Bad

Re: Loading kernel issues

2016-10-19 Thread Juergen Borleis
Hi Javier, On Tuesday 18 October 2016 18:56:03 Javier Fileiv wrote: > Trying to autoboot from nand, I set my /env/config file like that (and > after that a "saveenv"). Although it doesn't work automaGically! :) Can you also send the output of barebox from power on up to the point it falls into

Re: Loading kernel issues

2016-10-18 Thread Javier Fileiv
Hi all! Trying to autoboot from nand, I set my /env/config file like that (and after that a "saveenv"). Although it doesn't work automaGically! :) What do you think about this guys? Thanks a lot! (I'm gonna try the nfs mounting right now!) mini2440:/ cat env/config #!/bin/sh machine=mini2440

Re: Loading kernel issues

2016-10-18 Thread Javier Fileiv
Yes I did it and the values are ok. When I get home I'll send my config file! Thanks 2016-10-18 10:17 GMT+02:00 Juergen Borleis : > Hi Javier, > > On Sunday 16 October 2016 23:06:15 Javier Fileiv wrote: >> I've just flashed barebox on my Mini2440. I have 2 questions/issues

Re: Loading kernel issues

2016-10-18 Thread Juergen Borleis
Hi Javier, On Sunday 16 October 2016 23:06:15 Javier Fileiv wrote: > I've just flashed barebox on my Mini2440. I have 2 questions/issues now > > 1) When trying to load the kernel from TFTP, everything is ok but when > it's trying to mount the rootfs something is not working, even though > I set

Re: Loading kernel issues

2016-10-17 Thread Sascha Hauer
Hi Javier, On Sun, Oct 16, 2016 at 11:06:15PM +0200, Javier Fileiv wrote: > Hi everyone, I've just flashed barebox on my Mini2440. I have 2 > questions/issues now > > 1) When trying to load the kernel from TFTP, everything is ok but when > it's trying to mount the rootfs something is not

Loading kernel issues

2016-10-16 Thread Javier Fileiv
Hi everyone, I've just flashed barebox on my Mini2440. I have 2 questions/issues now 1) When trying to load the kernel from TFTP, everything is ok but when it's trying to mount the rootfs something is not working, even though I set the rootdelay param to 5 secs. 2) I tried also the boot from