i am gettin the following error while loading barebox image, plz help me mini2440:/ . /env/config mini2440:/ devinfo eth0 base : 0x00000000 size : 0x00000000 driver: none Parameters: ipaddr = 192.168.1.240 ethaddr = 00:04:f3:00:06:35 gateway = 192.168.1.2 netmask = 255.255.255.0 serverip = 192.168.1.7 mini2440:/ ping 192.168.1.7 T T T T T host 192.168.1.7 is alive mini2440:/ ping 192.168.1.7 host 192.168.1.7 is alive mini2440:/ update -t barebox -d nand T T T T T T T T T ping failed: Network is down erasing partition /dev/nand0.barebox.bb flashing barebox-mini2440 to /dev/nand0.barebox.bb tftp failed: Network is down mini2440:/ ping 192.168.1.7 ping failed: Network is down mini2440:/ devinfo eth0 base : 0x00000000 size : 0x00000000 driver: none Parameters: ipaddr = 0.0.0.0 ethaddr = 00:04:f3:00:06:35 gateway = 192.168.1.2 netmask = 255.255.255.0 serverip = 192.168.1.7
Ptxdist: error loading barebox via tftp
Do these T T T mini2440:/ ping 192.168.1.7 T T T T T host 192.168.1.7 is alive mini2440:/ ping 192.168.1.7 host 192.168.1.7 is alive mini2440:/ update -t barebox -d nand T T T T T T T T T ping failed: Network is down take a few seconds to appear in turn?
i had waited for long time for tftp to happen. The following " T T T ping failed: Network is down " appears when i do CTRL+C. i came across the following link http://www.friendlyarm.net/forum/topic/2779 do u think these are the same issues?
I did have a problem as per the link. The problem seemed to go away. Are you running the mini2440 off a switching hub? I had lots of grief trying to talk to the mini2440 from my Acer Aspire1 netbook. Had to buy a USB to serial converter in the end. Seems either the netbook (running Ubuntu) or the mini2440 does not have fully compliant ethernet physical levels.
Hi. davef Can you transfer barebox-image on your host PC to Mini2440 via tftp? I see this link: http://www.friendlyarm.net/forum/topic/2779 In third comment: The issue with <tftpd-hpa> on my platform was traced when doing: cat /etc/default/tftpd-hpa It was expecting to find the tftpboot files in /var/lib so I changed TFTP_DIRECTORY="/tftpboot" and the files uploaded. That was after a long search! I can't found tftpboot file in /var/lib. And I search in filesystem in all file not found TFTP_DIRECTORY. Did you have any solution for transfer barebox-image to mini ?
Brabbit, That was a long time ago! I don't remember why I was expected them in /var/lib but that was a mistake. On the host all you do in create a directory in root called tftpboot. Following the Quickstart guide you copy the image files you want into /tftpboot and barebox should do the rest.
Sorry, you have to rename them to the files expected by barebox, ie: platform-mini2440/images/barebox-image /tftpboot/barebox-mini2440
@davef Thank you for Quickly answer. I make directory /tftpboot/barebox-mini2440 and copy file barebox-image into this folder. I use command tftp 192.168.1.200(my mini2440 ip addr). And I use command "put barebox-image" it show: tftp> put barebox-image Transfer timed out. It doesn't sent file?
Hi davef I'm testing tftp on host pc.It's work.but I use command "updat -t barebox -d nand" in mini. It show : mini2440:/ update -t barebox -d nand host 192.168.1.100 is alive erasing partition /dev/nand0.barebox.bb flashing barebox-mini2440 to /dev/nand0.barebox.bb TFTP from server 192.168.1.100 ('barebox-mini2440' -> '/dev/nand0.barebox.bb') tftp failed: Invalid argument
> tftp failed: Invalid argument Never had this error. Have you done any editing to your /configs/platform-friendlyarm-mini2440/barebox-64m-env/config file? How much flash does your mini2440 have? I just re-read and noticed this: > I make directory /tftpboot/barebox-mini2440 and copy file barebox-image > into this folder. You make a directory /tftpboot and copy file barebox-image to this directory and re-name it barebox-mini2440
I try to build new image and use "update -t barebox -d nand". It's show : ">tftp failed: Invalid argument" again.
The Mini2440 needs software support to be able to boot Linux from an attached SD card. That is why you need first to store the Barebox bootloader into the NAND and to start the CPU from NAND. Barebox then is able to load and start the kernel from the SD card.
Please take a look into the log files on your tftp server. Maybe some kind of configuration is broken at your host side. Just an idea.
> I'm testing tftp on host pc. Does this mean you have tested tftp on your host BY talking to another PC and are able to transfer files in both directions? Do this before introducing the mini2440 into the equation.
Hi. Today I'm try to install tftp server and change file "barebox-image" to "barebox-mini2440" in folder /tftpboot. I use command "update -t barebox -d nand".It's show this : mini2440:/ update -t barebox -d nand host 192.168.1.100 is alive erasing partition /dev/nand0.barebox.bb flashing barebox-mini2440 to /dev/nand0.barebox.bb TFTP from server 192.168.1.100 ('barebox-mini2440' -> '/dev/nand0.barebox.bb') mini2440:/ It's OK? Finish upload in nand?
> It's OK? Seems so. Last check is to change to boot from NAND and give it a try. If Barebox greets you after power on, you win \o/
Oh No!! I'm change switch S2 to NAND and turn off and then turn on power switch. But it isn't show anything on the mini2440 touchscreen.
Then double check, if the file "barebox-mini2440" which was downloaded and stored into your NAND memory is really a Barebox image. And check if it was configured for the correct NAND type and size.
Now.I begin section 6. I config in section 6.3 and start manually "boot mmc". Show this: mini2440:/ boot mmc probing mci for sd card now Limiting max. read block size down to 512 Limiting max. write block size down to 512 booting kernel of type uimage from /dev/disk0.0 Bad Magic Number mini2440:/ What's happen?
> Limiting max. read block size down to 512 > Limiting max. write block size down to 512 Seems Barebox doesn't like your SD Card. Try a different one.
> Limiting max. read block size down to 512 > Limiting max. write block size down to 512 I often get this message. But, not the Bad Magic number message. http://www.friendlyarm.net/forum/topic/3903 Perhaps the SD card has not been formatted correctly. Point us to the tutorial you used to do that or find: "Howto boot with an SD card.zip" http://www.friendlyarm.net/forum/topic/4179
Maybe, start with ticking the right boxes for something like Arora and see if that works first. If you want a Qt application that is not covered in the Pengutronix BSP then you want to try: ptxdist newpackage src-qmake-prog
Hi davef. Thank you for my question. You can answer me in this link http://www.friendlyarm.net/forum/topic/4964 Thank you.