Re: Basic loading of nut/OS applications via TFTP
Tim Schendekehl <[email protected]> Mon, 23 Jul 2018 17:22:24 +0200
| Newsgroups | gmane.comp.hardware.microcontrollers.ethernut |
|---|---|
| Message-ID | <[email protected]> |
Hello Nikolas, as an alternative you could try the following commands in U-Boot: dhcp tftpboot 0x20000000 172.16.1.105:httpserv.bin go 0x20000000 The first command initializes the network. The second command loads the image and the third runs it. Best regards, Tim Schendekehl Am 23.07.2018 um 16:52 schrieb Nikolas Becker: > Hello Tim, > > I'm sorry, while writing my mail, I totally forgot that ip-adress line. I tried it with it, it made no difference. I've added another log at the end of this mail, where I execute the correct commands. As you can see, it made no difference, unfortunately. > > Best regards > > Nikolas > > SAMBOOT 1.4 : Type=3 Loading 0x42000 to 0x27000000 done > OK > > > U-Boot 2011.12 (Mar 28 2012 - 10:09:42) > > CPU: AT91SAM9XE > Crystal frequency: 18.432 MHz > CPU clock : 180.634 MHz > Master clock : 90.317 MHz > I2C: ready > DRAM: 128 MiB > WARNING: Caches not enabled > Flash: 512 KiB > NAND: 1024 MiB > MMC: mci: 0 > DataFlash:AT45DB321 > Nb pages: 8192 > Page Size: 528 > Size= 4325376 bytes > Logical address: 0xC0000000 > Area 0: C0021000 to C0041FFF (RO) setup > Area 1: C0042000 to C00C5FFF (RO) uboot > Area 2: C00C6000 to C0359FFF (RO) kernel > Area 3: C035A000 to C03DDFFF (RO) nutos > Area 4: C03DE000 to C03FEFFF env > SF: Detected AT45DB321D with page size 528 Bytes, total 16.5 MiB > In: serial > Out: serial > Err: serial > Net: macb0: PHY present at 0 > macb0: Starting autonegotiation... > macb0: Autonegotiation complete > macb0: link up, 100Mbps full-duplex (lpa: 0xcde1) > macb0 > Hit any key to stop autoboot: 3 0 > U-Boot> run setfactory > Loading... > ## Executing script at 20000000 > ## Resetting to default environment > Enter MAC address and then execute 'saveenv' to store the new environment. > Please enter 'ethaddr': > U-Boot> setenv ethaddr 00:06:98:50:00:CA > U-Boot> > U-Boot> setenv tftpserverip 172.16.1.105 > U-Boot> > U-Boot> setenv nut_image_name httpserv.bin > U-Boot> > U-Boot> saveenv > Saving Environment to SPI Flash... > SF: Detected AT45DB321D with page size 528 Bytes, total 16.5 MiB > Erasing SPI flash...Writing to SPI flash...done > U-Boot> > U-Boot> run tftpbootnut > macb0: PHY present at 0 > macb0: link up, 100Mbps full-duplex (lpa: 0xcde1) > BOOTP broadcast 1 > DHCP client bound to address 172.16.1.87 > U-Boot> > _______________________________________________ > http://lists.egnite.de/mailman/listinfo/en-nut-discussion -- egnite GmbH Erinstrasse 18 44575 Castrop-Rauxel Germany Fon: +49 (0) 23 05 / 44 12 56 Fax: +49 (0) 23 05 / 44 14 87 Email: [email protected] Internet: www.egnite.de www.ethernut.de Amtsgericht Dortmund HRB 19783 Geschäftsführung: Harald Kipp USt-IdNr.: DE 189520047 _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion