怎样获取u-boot、kernel原始下载地址
刚接触linux的童鞋们可能会困惑与下载相关的源码,到底哪里能找到最新最官方的下载链接呢?
授
人
以
鱼
不
如
授
人
以
渔
\color{red}{授人以鱼不如授人以渔}
授人以鱼不如授人以渔,这里给大家推荐一个方法:
README,没错就是这个
r
e
a
d
m
e
\color{red}{readme}
readme文件,不论是u-boot还是kernel,在其根目录都会有一个readme文件,里面会暗示源码的官方链接已经其他说明。
如果你连最初的源码都没有,没关系,下面附上readme文件的部分内容
uboot
# (C) Copyright 2000 - 2013
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier: GPL-2.0+
#
.....................
Where to get help:
==================
In case you have questions about, problems with or contributions for
U-Boot, you should send a message to the U-Boot mailing list at
<u-boot@lists.denx.de>. There is also an archive of previous traffic
on the mailing list - please search the archive before asking FAQ's.
Please see http://lists.denx.de/pipermail/u-boot and
http://dir.gmane.org/gmane.comp.boot-loaders.u-boot
Where to get source code:
=========================
The U-Boot source code is maintained in the Git repository at
git://www.denx.de/git/u-boot.git ; you can browse it online at
http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=summary
The "snapshot" links on this page allow you to download tarballs of
any version you might be interested in. Official releases are also
available for FTP download from the ftp://ftp.denx.de/pub/u-boot/
directory.
Pre-built (and tested) images are available from
ftp://ftp.denx.de/pub/u-boot/images/
可以看到uboot的官网就是http://www.denx.de,然后进去慢慢浏览
kernel
- If you compiled the kernel with CONFIG_KALLSYMS you can send the dump
as is, otherwise you will have to use the ``ksymoops`` program to make
sense of the dump (but compiling with CONFIG_KALLSYMS is usually preferred).
This utility can be downloaded from
https://www.kernel.org/pub/linux/utils/kernel/ksymoops/ .
Alternatively, you can do the dump lookup by hand:
可以看到kernel的官网就是https://www.kernel.org