From: "Kevin Hilman" <khilman@baylibre.com>
To: Paul Burton <paul.burton@mips.com>
Cc: "kernelci@groups.io" <kernelci@groups.io>,
"ezequiel@collabora.com" <ezequiel@collabora.com>
Subject: Re: MIPS test results
Date: Thu, 13 Dec 2018 16:51:02 -0800 [thread overview]
Message-ID: <7h5zvxorrd.fsf@baylibre.com> (raw)
In-Reply-To: <20181212200246.vfeemrt2tjz7moj5@pburton-laptop>
Paul Burton <paul.burton@mips.com> writes:
[...]
> For the Ci20 there are 2 main options:
>
> 1) Use a U-Boot uImage.
>
> The Ci20 ships with the U-Boot bootloader by default, and expects
> to load kernels packages in the legacy U-Boot uImage format. When
> you build the kernel, if you have the U-Boot mkimage tool in your
> $PATH, you should get a arch/mips/boot/uImage.gz file. You then
> load this into DDR using U-Boot, for example using the tftp
> command, and run the bootm command to boot the kernel.
>
> Of note is that Ezequiel Garcia, CC'd, is currently working on
> upstreaming Ci20 support in U-Boot.
u-boot is the preferred option, and I just tried it on my Ci20, but it
seems the u-boot on this board doesn't find the network, so I can't
DHCP/TFTP (log below[1]).
If I just let the kernel boot that is flashed on the board, it boots up
an OpenWRT image and is able to DHCP and get an IP address, so I know
the network interface is working.
Maybe Ezequiel has a newer version of u-boot with working network
support I could try? If so, please also send instructions for how to
(re)flash u-boot, (or maybe boot a new u-boot from the SD card?)
Kevin
[1]
U-Boot SPL 2015.07-rc2 (Jul 14 2016 - 12:16:30)
U-Boot 2015.07-rc2 (Jul 14 2016 - 12:16:30 +0000)
MIPS(interAptiv): IMG Pistachio 546MHz.
Model: IMG Marduk
DRAM: 256 MiB
NAND: 512 MiB
MMC: Synopsys Mobile storage: 0
SF: Detected W25Q16CL with page size 256 Bytes, erase size 4 KiB, total 2 MiB
*** Warning - bad CRC, using default environment
In: uart@18101500
Out: uart@18101500
Err: uart@18101500
Net: No valid Mac-addr found from dtb
Error: ethernet@18140000 address not set.
No ethernet found.
Hit any key to stop autoboot: 0
pistachio # dhcp
mdio_register: non unique device name 'ethernet@18140000'
ethernet@18140000:0 is connected to ethernet@18140000. Reconnecting to ethernet@18140000
Error: ethernet@18140000 address not set.
mdio_register: non unique device name 'ethernet@18140000'
ethernet@18140000:0 is connected to ethernet@18140000. Reconnecting to ethernet@18140000
Error: ethernet@18140000 address not set.
mdio_register: non unique device name 'ethernet@18140000'
ethernet@18140000:0 is connected to ethernet@18140000. Reconnecting to ethernet@18140000
Error: ethernet@18140000 address not set.
mdio_register: non unique device name 'ethernet@18140000'
ethernet@18140000:0 is connected to ethernet@18140000. Reconnecting to ethernet@18140000
Error: ethernet@18140000 address not set.
No ethernet found.
mdio_register: non unique device name 'ethernet@18140000'
ethernet@18140000:0 is connected to ethernet@18140000. Reconnecting to ethernet@18140000
Error: ethernet@18140000 address not set.
pistachio #
next prev parent reply other threads:[~2018-12-14 0:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20181128233013.nymedsx2ukdx2otq@pburton-laptop>
[not found] ` <7hr2f3afkb.fsf@baylibre.com>
[not found] ` <20181130234118.3vntmrbz5vom2sji@pburton-laptop>
2018-12-03 17:36 ` MIPS test results Kevin Hilman
2018-12-12 20:02 ` Paul Burton
2018-12-14 0:51 ` Kevin Hilman [this message]
2018-12-14 4:43 ` Ezequiel Garcia
2018-12-14 17:03 ` Kevin Hilman
2018-12-14 17:43 ` Ezequiel Garcia
2018-12-14 18:54 ` Paul Burton
2018-12-15 1:28 ` Kevin Hilman
2018-12-15 1:58 ` Guenter Roeck
2018-12-15 4:26 ` Paul Burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7h5zvxorrd.fsf@baylibre.com \
--to=khilman@baylibre.com \
--cc=ezequiel@collabora.com \
--cc=kernelci@groups.io \
--cc=paul.burton@mips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox