8devices Community https://www.8devices.com/community/ |
|
Lima u-boot https://www.8devices.com/community/viewtopic.php?f=23&t=1051 |
Page 1 of 1 |
Author: | rraasch [ 08 Aug 2017, 12:16 ] |
Post subject: | Lima u-boot |
I am trying to upgrade the system via the USB serial port. I am transferring the file via ymodem, and trying to flash via the command sf erase 0xC0000 +0x540004; sf write 0x81000000 0xC0000 0x540004 SF: 5570560 bytes @ 0xc0000 Erased: OK SF: 5505028 bytes @ 0xc0000 Written: OK However, I receive the following message when it resets. What am I doing wrong? Hit '<ESC>' key(s) to stop autoboot: 0 ## Booting image at 9f0c0000 ... Bad Magic Number Thanks. |
Author: | rraasch [ 09 Aug 2017, 07:48 ] |
Post subject: | Re: Lima u-boot |
I am able to flash the kernel at the address 0xC0000. But I get an error when erasing the entire address space sf erase 0xC0000 0x540004; sf write 0x81000000 0xC0000 0x540004 When I erase only the size of the uImage, it works fine... Also, the serial port on the module (not development board) writes garbage after a point. [ 0.093917] MIPS: machine is 8devices Lima board [ 0.537503] ar724x-pci ar724x-pci.0: PCIe link is down [ 0.541154] registering PCI controller with io_map_base unset [ 0.550483] PCI host bridge to bus 0000:00 [ 0.553400] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff] [ 0.558305] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.562254] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.567064] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.573184] Switched to clocksource MIPS [ 0.576808] NET: Registered protocol family 2 [ 0.580457] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.585448] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.589960] TCP: Hash tables configured (established 1024 bind 1024) [ 0.594540] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.598688] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.603345] NET: Registered protocol family 1 [ 0.607097] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.621277] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.625449] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.634012] io scheduler noop registered [ 0.636801] io scheduler deadline registered (default) [ 0.640626] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.645419] console [ttyS0] disabled [ 0.668033] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A �2@ 0�|��� ��L��L2@�8~�N|~�N���2����r��L2@6�|2� �N₼r0 �N 0�<p�¼̎�L87�������|r�~��2������L����2��B�p��0��LpN 0� 8�B� >��<�̎�2@�8~�N�r�~�N|~�N��β����N���2@�Br�B�p��0�@68N 0� 8�b�<x6�̎�Lr��p~�ΰr�~�Ύ��p���N22�������2@�Ύ2� ��2��r0�2@ 0�|���L89ǀ ��2@6N�L�� <�|�2N��B��>��~��|��̾�L��B����p 0����2r����0�rB�� .... Any ideas on why this output is garbage? Cheers, Ryan |
Author: | gedass [ 09 Aug 2017, 10:27 ] |
Post subject: | Re: Lima u-boot |
Try to change terminal/cable. |
Author: | rraasch [ 16 Aug 2017, 07:34 ] |
Post subject: | Re: Lima u-boot |
Thanks. It seems to be HW related. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |