12-03-2012
Quote:
Originally Posted by
h0ujun
Hi,
Can i just ask how I can create a bootable PXE image from the built kernel source.
!
You're saying you want to build a custom Linux kernel that also supports PXE booting?
Here are some guides, both RHEL/CentOS-specific however it's not a big stretch to use the same basic guidelines for other distributions:
Since I can't post URLs, Google this: Building a RHEL kernel with the intention of PXE-booting a machine
How to properly compile a PXE/NFSRoot kernel for CentOS 5.x
9 More Discussions You Might Find Interesting
1. BSD
Hello Friends,
Am lakshma reddy, doing my masters, i had some interest in exploring the source code of any open LINUX/UNIX, i searched for that i know i can get it but this time am finding it difficult in doing that.
To be frank am new to this UNIX?LINUX platform. I need it since i want to... (1 Reply)
Discussion started by: luckyy
1 Replies
2. AIX
I have several systems which require software maintenance several times a year. After the software maintenance, it is required that we make two system tapes for DR purposes. The creation of these system tapes takes anywhere from 1-1.5 hours because of the performance of the tape drives. What I... (7 Replies)
Discussion started by: acascianelli
7 Replies
3. AIX
Hi,
Can any one please tell me the method to check whether a mksysb image which is in the server is bootable or not. :confused:
Thanks in advance,
Anoop (1 Reply)
Discussion started by: anoopraok
1 Replies
4. BSD
Hi
I need the BSD core (kernel) operating system
Please let me download link
I'm from Iran
Please help me
Thank you very much (1 Reply)
Discussion started by: sepadl71
1 Replies
5. Solaris
Hi
I am trying to build ffmpeg on Solaris 10 from source as per the main downloads page on the ffmpeg site, howver I am running into various errors.
I then came across this posting chrismiles: Building ffmpeg on Solaris 10 after some judicious googling.
Unfortunately, the patch does not... (0 Replies)
Discussion started by: skewbie
0 Replies
6. Red Hat
We use netboot to boot our RedHat Linux kernels. We usually use mknbi tool to create netboot image from Red Hat Linux kernel. However, I can't get this to work with the new Red Hat EL6 kernel.
One online document I found seems to say mknbi should not be used for Linux 2.6 or newer kernels any... (1 Reply)
Discussion started by: jyao02459
1 Replies
7. AIX
i have been given a bootable cd/dvd, that i install a ibm aix 185 workstation with, i want to make a nim mksysb resource from that,
the following is a listing for the root file structure of the cd/dvd, seems someone took a mksysb of a built ibm aix machine and did mkcd -L -S -I and setup the... (2 Replies)
Discussion started by: asyed123
2 Replies
8. UNIX for Dummies Questions & Answers
hi,
i recently built a pxe file the problem is I don't know how to add it in the pxe server.
I was wondering if you guys know how to add my pxe file in the pxe server so that when I run the device we're using, I can go lan boot then at boot: I will just type a text and it will boot the built... (0 Replies)
Discussion started by: h0ujun
0 Replies
9. UNIX for Dummies Questions & Answers
Hi,
So I downloaded this kernel source and was able to build it successfully.
But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself.
I added the SDK in the main Makefile:
init-y := init/
#added SDK... (0 Replies)
Discussion started by: h0ujun
0 Replies
LEARN ABOUT DEBIAN
mkimage
MKIMAGE(1) General Commands Manual MKIMAGE(1)
NAME
mkimage - Generate image for U-Boot
SYNOPSIS
mkimage [options]
DESCRIPTION
The mkimage command is used to create images for use with the U-Boot boot loader. These images can contain the linux kernel, device tree
blob, root file system image, firmware images etc., either separate or combined.
mkimage supports two different formats:
The old legacy image format concatenates the individual parts (for example, kernel image, device tree blob and ramdisk image) and adds a 64
bytes header containing information about target architecture, operating system, image type, compression method, entry points, time stamp,
checksums, etc.
The new FIT (Flattened Image Tree) format allows for more flexibility in handling images of various types and also enhances integrity pro-
tection of images with stronger checksums.
OPTIONS
List image information:
-l [uimage file name]
mkimage lists the information contained in the header of an existing U-Boot image.
Create old legacy image:
-A [architecture]
Set architecture. Pass -h as the architecture to see the list of supported architectures.
-O [os]
Set operating system. bootm command of u-boot changes boot method by os type. Pass -h as the OS to see the list of supported OS.
-T [image type]
Set image type. Pass -h as the image to see the list of supported image type.
-C [compression type]
Set compression type. Pass -h as the compression to see the list of supported compression type.
-a [load addess]
Set load address with a hex number.
-e [entry point]
Set entry point with a hex number.
-n [image name]
Set image name to 'image name'.
-d [image data file]
Use image data from 'image data file'.
-x Set XIP (execute in place) flag.
Create FIT image:
-D [dtc options]
Provide special options to the device tree compiler that is used to create the image.
-f [image tree source file]
Image tree source file that describes the structure and contents of the FIT image.
EXAMPLES
List image information:
mkimage -l uImage
Create legacy image with compressed PowerPC Linux kernel:
mkimage -A powerpc -O linux -T kernel -C gzip
-a 0 -e 0 -n Linux -d vmlinux.gz uImage
Create FIT image with compressed PowerPC Linux kernel:
mkimage -f kernel.its kernel.itb
HOMEPAGE
http://www.denx.de/wiki/U-Boot/WebHome
AUTHOR
This manual page was written by Nobuhiro Iwamatsu <iwamatsu@nigauri.org> and Wolfgang Denk <wd@denx.de>
2010-05-16 MKIMAGE(1)