UBUNTU 12.10, 網樂通 STlinux 2.4, 學習交叉編譯核心

http://wp.me/ph3BR-CA 這篇的短網址

人家說, STLinux-2.3, 明明選擇 target 時是 pdk7105, 但是換了STLinux-2.4, make 的過程並沒看到 pdk7105, 關於7105 有 3 個, 其中一個 iptv7105, 所以就選, 繼續學習交叉編譯, 反正不要錢, 學習一下 EMBEDDED LINUX , 其實也是 LINUX, 今晚就玩到這裡, 編譯過了, 可是沒燒進去看看結果, 暫時就這樣.



make ARCH=sh CROSS_COMPILE=sh4-linux- menuconfig

這個畫面跳出來, 可以選擇編譯核心的選項



網樂通的源碼, 有人把他放倒 CODE.GOOGLE http://code.google.com/p/nexttv-mod/downloads/list

如何 make, 看 STLinux 官方解說 http://stlinux.com/install/getting-started/building-linux

make ARCH=sh CROSS_COMPILE=sh4-linux- help >> 網樂通_target.log


Cleaning targets:
clean          - Remove most generated files but keep the config and
enough build support to build external modules
mrproper      - Remove all generated files + config + various backup files
distclean      - mrproper + remove editor backup and patch files

Configuration targets:
config      - Update current config utilising a line-oriented program
menuconfig      - Update current config utilising a menu based program
xconfig      - Update current config utilising a QT based front-end
gconfig      - Update current config utilising a GTK based front-end
oldconfig      - Update current config utilising a provided .config as base
localmodconfig  - Update current config disabling modules not loaded
localyesconfig  - Update current config converting local mods to core
silentoldconfig - Same as oldconfig, but quietly, additionally update deps
randconfig      - New config with random answer to all options
defconfig      - New config with default answer to all options
allmodconfig      - New config selecting modules when possible
allyesconfig      - New config where all options are accepted with yes
allnoconfig      - New config where all options are answered with no

Other generic targets:
all          - Build all targets marked with [*]
* vmlinux      - Build the bare kernel
* modules      - Build all modules
modules_install - Install all modules to INSTALL_MOD_PATH (default: /)
firmware_install- Install all firmware to INSTALL_FW_PATH
(default: $(INSTALL_MOD_PATH)/lib/firmware)
dir/            - Build all files in dir and below
dir/file.[ois]  - Build specified target only
dir/file.ko     - Build module including final link
modules_prepare - Set up for building external modules
tags/TAGS      - Generate tags file for editors
cscope      - Generate cscope index
kernelrelease      - Output the release version string
kernelversion      - Output the version stored in Makefile
headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH
(default: /home/xiao/nextvod/linux-sh4-

Static analysers
checkstack      - Generate a list of stack hogs
namespacecheck  - Name space analysis on compiled kernel
versioncheck    - Sanity check on version.h usage
includecheck    - Check for duplicate included header files
export_report   - List the usages of all exported symbols
headers_check   - Sanity check on exported headers
headerdep       - Detect inclusion cycles in headers

Kernel packaging:
rpm-pkg         - Build both source and binary RPM kernel packages
binrpm-pkg      - Build only the binary kernel package
deb-pkg         - Build the kernel as an deb package
tar-pkg         - Build the kernel as an uncompressed tarball
targz-pkg       - Build the kernel as a gzip compressed tarball
tarbz2-pkg      - Build the kernel as a bzip2 compressed tarball

Documentation targets:
Linux kernel internal documentation in different formats:
htmldocs        - HTML
pdfdocs         - PDF
psdocs          - Postscript
xmldocs         - XML DocBook
mandocs         - man pages
installmandocs  - install man pages generated by mandocs
cleandocs       - clean all generated DocBook files

Architecture specific targets (sh):
zImage                - Compressed kernel image
romImage               - Compressed ROM image, if supported
vmlinux.srec               - Create an ELF S-record
* uImage                 - Alias to bootable U-Boot image
uImage.srec               - Create an S-record for U-Boot
uImage.bin               - Kernel-only image for U-Boot (bin)
* uImage.gz               - Kernel-only image for U-Boot (gzip)
uImage.bz2               - Kernel-only image for U-Boot (bzip2)
uImage.lzma               - Kernel-only image for U-Boot (lzma)

hdref_defconfig          - Build for hdref
mb618_defconfig          - Build for mb618
migor_defconfig          - Build for migor
shx3_defconfig           - Build for shx3
hmp7105_defconfig        - Build for hmp7105
lboxre2_defconfig        - Build for lboxre2
sh7770_generic_defconfig - Build for sh7770_generic
se7722_defconfig         - Build for se7722
iptv7105_defconfig       - Build for iptv7105
7102isdb_defconfig       - Build for 7102isdb
polaris_defconfig        - Build for polaris
microdev_defconfig       - Build for microdev
mb839_defconfig          - Build for mb839
se7705_defconfig         - Build for se7705
landisk_defconfig        - Build for landisk
edosk7705_defconfig      - Build for edosk7705
rts7751r2d1_defconfig    - Build for rts7751r2d1
b2068_defconfig          - Build for b2068
ecovec24_defconfig       - Build for ecovec24
b2076_defconfig          - Build for b2076
fudb_defconfig           - Build for fudb
urquell_defconfig        - Build for urquell
systemh_defconfig        - Build for systemh
se7750_defconfig         - Build for se7750
mb796_defconfig          - Build for mb796
dreamcast_defconfig      - Build for dreamcast
cab5197_defconfig        - Build for cab5197
se7206_defconfig         - Build for se7206
mb903_defconfig          - Build for mb903
sh7785lcr_defconfig      - Build for sh7785lcr
snapgear_defconfig       - Build for snapgear
ecovec24-romimage_defconfig - Build for ecovec24-romimage
mb704_defconfig          - Build for mb704
sdk7780_defconfig        - Build for sdk7780
mb442_defconfig          - Build for mb442
shmin_defconfig          - Build for shmin
se7343_defconfig         - Build for se7343
rsk7201_defconfig        - Build for rsk7201
se7724_defconfig         - Build for se7724
sh7724_generic_defconfig - Build for sh7724_generic
kfr2r09_defconfig        - Build for kfr2r09
mb519_mb520_defconfig    - Build for mb519_mb520
hdk7111_defconfig        - Build for hdk7111
mb680_defconfig          - Build for mb680
sh7763rdp_defconfig      - Build for sh7763rdp
b2067_defconfig          - Build for b2067
hp6xx_defconfig          - Build for hp6xx
fldb_defconfig           - Build for fldb
hms1_defconfig           - Build for hms1
se7619_defconfig         - Build for se7619
eud7141_defconfig        - Build for eud7141
hdkh251_defconfig        - Build for hdkh251
dtt5250_defconfig        - Build for dtt5250
kfr2r09-romimage_defconfig - Build for kfr2r09-romimage
b2057_defconfig          - Build for b2057
mb837_defconfig          - Build for mb837
hdk7105_defconfig        - Build for hdk7105
titan_defconfig          - Build for titan
rts7751r2dplus_defconfig - Build for rts7751r2dplus
hdkh246_defconfig        - Build for hdkh246
edosk7760_defconfig      - Build for edosk7760
hmp7100_defconfig        - Build for hmp7100
b2066_defconfig          - Build for b2066
r7785rp_defconfig        - Build for r7785rp
hdk7197_defconfig        - Build for hdk7197
sh7710voipgw_defconfig   - Build for sh7710voipgw
hdk5289_defconfig        - Build for hdk5289
b2069_defconfig          - Build for b2069
hdk7106_defconfig        - Build for hdk7106
ap325rxa_defconfig       - Build for ap325rxa
ul2_defconfig            - Build for ul2
adi7108_defconfig        - Build for adi7108
mb628_defconfig          - Build for mb628
b2039_defconfig          - Build for b2039
se7751_defconfig         - Build for se7751
hdk5250_defconfig        - Build for hdk5250
hdkh225_defconfig        - Build for hdkh225
rsk7203_defconfig        - Build for rsk7203
fp2ev_defconfig          - Build for fp2ev
r7780mp_defconfig        - Build for r7780mp
mb602_defconfig          - Build for mb602
sat7111_defconfig        - Build for sat7111
mb671_defconfig          - Build for mb671
sh7785lcr_32bit_defconfig - Build for sh7785lcr_32bit
cayman_defconfig         - Build for cayman
hdk7108_defconfig        - Build for hdk7108
mb411_defconfig          - Build for mb411
magicpanelr2_defconfig   - Build for magicpanelr2
espt_defconfig           - Build for espt
b2064_defconfig          - Build for b2064
se7780_defconfig         - Build for se7780
sh03_defconfig           - Build for sh03
ngb7167_defconfig        - Build for ngb7167
mb448_defconfig          - Build for mb448
se7721_defconfig         - Build for se7721
se7712_defconfig         - Build for se7712

make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build
make V=2   [targets] 2 => give reason for rebuild of target
make O=dir [targets] Locate all output files in "dir", including .config
make C=1   [targets] Check all c source with $CHECK (sparse by default)
make C=2   [targets] Force check of all c source with $CHECK

Execute "make" or "make all" to build all targets marked with [*]
For further info see the ./README file


2 thoughts on “UBUNTU 12.10, 網樂通 STlinux 2.4, 學習交叉編譯核心

  1. Good day! This is kind of off topic but I need some help from an established blog.
    Is it hard to set up your own blog? I’m not very techincal but I can figure things out pretty quick. I’m thinking
    about creating my own but I’m not sure where to begin. Do you have any tips or suggestions? Cheers



WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )


您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s