Difference between revisions of "Hellohello"

From eLinux.org
Jump to: navigation, search
Line 9: Line 9:
 
| Kernel Build Output
 
| Kernel Build Output
 
| <pre>
 
| <pre>
$ export OETREE="${HOME}/oe"
+
 
$ PATH=${OETREE}/angstrom-dev/staging/i686-linux/usr/bin/:${PATH}
+
source ~/.oe/crossCompileEnv.sh
$ PATH=${OETREE}/angstrom-dev/cross/armv7a/bin/:${PATH}
+
make uImage
$ make CROSS_COMPILE=arm-angstrom-linux-gnueabi- uImage
+
...
   CHK    include/linux/version.h
+
   CC      lib/rwsem-spinlock.o
make[1]: `include/asm-arm/mach-types.h' is up to date.
+
  CC      lib/sha1.o
   CHK    include/linux/utsrelease.h
+
  CC      lib/show_mem.o
   SYMLINK include/asm -> include/asm-arm
+
   CC      lib/string.o
   CALL    scripts/checksyscalls.sh
+
   CC      lib/vsprintf.o
 +
   AR      lib/lib.a
 +
  LD      vmlinux.o
 +
  MODPOST vmlinux.o
 +
  GEN    .version
 
   CHK    include/linux/compile.h
 
   CHK    include/linux/compile.h
   CC      arch/arm/mach-omap2/io.o
+
  UPD    include/linux/compile.h
   CC     arch/arm/mach-omap2/devices.o
+
   CC      init/version.o
      .
+
   LD     init/built-in.o
      . <lines of output omitted here>
+
  LD      .tmp_vmlinux1
      .
+
  KSYM    .tmp_kallsyms1.S
 +
  AS      .tmp_kallsyms1.o
 +
  LD      .tmp_vmlinux2
 +
  KSYM    .tmp_kallsyms2.S
 +
  AS      .tmp_kallsyms2.o
 
   LD      vmlinux
 
   LD      vmlinux
 
   SYSMAP  System.map
 
   SYSMAP  System.map
Line 29: Line 37:
 
   OBJCOPY arch/arm/boot/Image
 
   OBJCOPY arch/arm/boot/Image
 
   Kernel: arch/arm/boot/Image is ready
 
   Kernel: arch/arm/boot/Image is ready
 +
  AS      arch/arm/boot/compressed/head.o
 
   GZIP    arch/arm/boot/compressed/piggy.gz
 
   GZIP    arch/arm/boot/compressed/piggy.gz
 
   AS      arch/arm/boot/compressed/piggy.o
 
   AS      arch/arm/boot/compressed/piggy.o
 +
  CC      arch/arm/boot/compressed/misc.o
 
   LD      arch/arm/boot/compressed/vmlinux
 
   LD      arch/arm/boot/compressed/vmlinux
 
   OBJCOPY arch/arm/boot/zImage
 
   OBJCOPY arch/arm/boot/zImage
 
   Kernel: arch/arm/boot/zImage is ready
 
   Kernel: arch/arm/boot/zImage is ready
 
   UIMAGE  arch/arm/boot/uImage
 
   UIMAGE  arch/arm/boot/uImage
Image Name:  Linux-2.6.29-omap1
+
Image Name:  Linux-2.6.32
Created:      Tue Mar  9 12:58:27 2010
+
Created:      Fri Jan 20 19:15:22 2012
 
Image Type:  ARM Linux Kernel Image (uncompressed)
 
Image Type:  ARM Linux Kernel Image (uncompressed)
Data Size:    2991236 Bytes = 2921.13 kB = 2.85 MB
+
Data Size:    3144260 Bytes = 3070.57 kB = 3.00 MB
Load Address: 0x80008000
+
Load Address: 80008000
Entry Point:  0x80008000
+
Entry Point:  80008000
 
   Image arch/arm/boot/uImage is ready
 
   Image arch/arm/boot/uImage is ready
 +
 +
</pre>
 +
|-
 +
| 4-3
 +
| 77
 +
| Kernel Subdirectory
 +
| <pre>
 +
jack@jack-laptop:~/BeagleBoard/oe/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/linux-omap-psp-2.6.32-r113b+gitr5fc29e7b2a76a64a739f857858ef0b98294aa155/git/arch/arm/plat-omap$ ls -ls | grep -v \\.o
 +
total 812
 +
12 -rw-r--r-- 1 jack jack  10215 2012-01-03 14:29 clock.c
 +
12 -rw-r--r-- 1 jack jack  8486 2012-01-03 14:29 common.c
 +
  8 -rw-r--r-- 1 jack jack  4702 2012-01-03 14:29 cpu-omap.c
 +
  4 -rw-r--r-- 1 jack jack  2192 2012-01-03 14:29 debug-devices.c
 +
  8 -rw-r--r-- 1 jack jack  7170 2012-01-03 14:29 debug-leds.c
 +
12 -rw-r--r-- 1 jack jack  10856 2012-01-03 14:29 devices.c
 +
52 -rw-r--r-- 1 jack jack  52738 2012-01-03 14:29 dma.c
 +
24 -rw-r--r-- 1 jack jack  23360 2012-01-03 14:29 dmtimer.c
 +
12 -rw-r--r-- 1 jack jack  10055 2012-01-03 14:29 fb.c
 +
64 -rw-r--r-- 1 jack jack  63027 2012-01-03 14:29 gpio.c
 +
  8 -rw-r--r-- 1 jack jack  5927 2012-01-03 14:29 i2c.c
 +
  4 drwxr-xr-x 4 jack jack  4096 2012-01-03 14:29 include
 +
  8 -rw-r--r-- 1 jack jack  6441 2012-01-03 14:29 io.c
 +
24 -rw-r--r-- 1 jack jack  20755 2012-01-03 14:29 iommu.c
 +
12 -rw-r--r-- 1 jack jack  9117 2012-01-03 14:29 iommu-debug.c
 +
  4 -rw-r--r-- 1 jack jack  2152 2012-01-03 14:29 iopgtable.h
 +
20 -rw-r--r-- 1 jack jack  19320 2012-01-03 14:29 iovmm.c
 +
  8 -rw-r--r-- 1 jack jack  6239 2012-01-03 14:29 Kconfig
 +
12 -rw-r--r-- 1 jack jack  8384 2012-01-03 14:29 mailbox.c
 +
12 -rw-r--r-- 1 jack jack  10541 2012-01-03 14:56 mailbox.ko
 +
  4 -rw-r--r-- 1 jack jack  1504 2012-01-03 14:55 mailbox.mod.c
 +
  4 -rw-r--r-- 1 jack jack  1062 2012-01-03 14:29 Makefile
 +
36 -rw-r--r-- 1 jack jack  36086 2012-01-03 14:29 mcbsp.c
 +
  4 -rw-r--r-- 1 jack jack  2263 2012-01-03 14:29 mux.c
 +
  4 -rw-r--r-- 1 jack jack  2739 2012-01-03 14:29 ocpi.c
 +
20 -rw-r--r-- 1 jack jack  19866 2012-01-03 14:29 omap_device.c
 +
  8 -rw-r--r-- 1 jack jack  7252 2012-01-03 14:29 omap-pm-noop.c
 +
  8 -rw-r--r-- 1 jack jack  7171 2012-01-03 14:29 omap-pm-srf.c
 +
  4 -rw-r--r-- 1 jack jack  2757 2012-01-03 14:29 psp-version.c
 +
  4 -rw-r--r-- 1 jack jack  1202 2012-01-03 14:29 psp-version.h
 +
12 -rw-r--r-- 1 jack jack  12199 2012-01-03 14:29 resource.c
 +
16 -rw-r--r-- 1 jack jack  12884 2012-01-03 14:29 sram.c
 +
20 -rw-r--r-- 1 jack jack  18770 2012-01-03 14:29 usb.c
 +
</pre>
 +
|-
 +
| 4-4
 +
| 79
 +
| Snippet from Linux 2.6 .config
 +
| <pre>
 +
#
 +
# Automatically generated make config: don't edit
 +
# Linux kernel version: 2.6.32
 +
# Tue Jan  3 15:00:03 2012
 +
#
 +
CONFIG_ARM=y
 +
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
 +
CONFIG_GENERIC_GPIO=y
 +
CONFIG_GENERIC_TIME=y
 +
CONFIG_GENERIC_CLOCKEVENTS=y
 +
CONFIG_GENERIC_HARDIRQS=y
 +
CONFIG_STACKTRACE_SUPPORT=y
 +
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
 +
CONFIG_LOCKDEP_SUPPORT=y
 +
 
</pre>
 
</pre>
 
|}
 
|}

Revision as of 06:26, 21 January 2012

Number Page Caption Listing
4-1 71 Kernel Build Output
  
source ~/.oe/crossCompileEnv.sh
make uImage
...
  CC      lib/rwsem-spinlock.o
  CC      lib/sha1.o
  CC      lib/show_mem.o
  CC      lib/string.o
  CC      lib/vsprintf.o
  AR      lib/lib.a
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
  KSYM    .tmp_kallsyms1.S
  AS      .tmp_kallsyms1.o
  LD      .tmp_vmlinux2
  KSYM    .tmp_kallsyms2.S
  AS      .tmp_kallsyms2.o
  LD      vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  OBJCOPY arch/arm/boot/Image
  Kernel: arch/arm/boot/Image is ready
  AS      arch/arm/boot/compressed/head.o
  GZIP    arch/arm/boot/compressed/piggy.gz
  AS      arch/arm/boot/compressed/piggy.o
  CC      arch/arm/boot/compressed/misc.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
Image Name:   Linux-2.6.32
Created:      Fri Jan 20 19:15:22 2012
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    3144260 Bytes = 3070.57 kB = 3.00 MB
Load Address: 80008000
Entry Point:  80008000
  Image arch/arm/boot/uImage is ready

4-3 77 Kernel Subdirectory
jack@jack-laptop:~/BeagleBoard/oe/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/linux-omap-psp-2.6.32-r113b+gitr5fc29e7b2a76a64a739f857858ef0b98294aa155/git/arch/arm/plat-omap$ ls -ls | grep -v \\.o
total 812
 12 -rw-r--r-- 1 jack jack  10215 2012-01-03 14:29 clock.c
 12 -rw-r--r-- 1 jack jack   8486 2012-01-03 14:29 common.c
  8 -rw-r--r-- 1 jack jack   4702 2012-01-03 14:29 cpu-omap.c
  4 -rw-r--r-- 1 jack jack   2192 2012-01-03 14:29 debug-devices.c
  8 -rw-r--r-- 1 jack jack   7170 2012-01-03 14:29 debug-leds.c
 12 -rw-r--r-- 1 jack jack  10856 2012-01-03 14:29 devices.c
 52 -rw-r--r-- 1 jack jack  52738 2012-01-03 14:29 dma.c
 24 -rw-r--r-- 1 jack jack  23360 2012-01-03 14:29 dmtimer.c
 12 -rw-r--r-- 1 jack jack  10055 2012-01-03 14:29 fb.c
 64 -rw-r--r-- 1 jack jack  63027 2012-01-03 14:29 gpio.c
  8 -rw-r--r-- 1 jack jack   5927 2012-01-03 14:29 i2c.c
  4 drwxr-xr-x 4 jack jack   4096 2012-01-03 14:29 include
  8 -rw-r--r-- 1 jack jack   6441 2012-01-03 14:29 io.c
 24 -rw-r--r-- 1 jack jack  20755 2012-01-03 14:29 iommu.c
 12 -rw-r--r-- 1 jack jack   9117 2012-01-03 14:29 iommu-debug.c
  4 -rw-r--r-- 1 jack jack   2152 2012-01-03 14:29 iopgtable.h
 20 -rw-r--r-- 1 jack jack  19320 2012-01-03 14:29 iovmm.c
  8 -rw-r--r-- 1 jack jack   6239 2012-01-03 14:29 Kconfig
 12 -rw-r--r-- 1 jack jack   8384 2012-01-03 14:29 mailbox.c
 12 -rw-r--r-- 1 jack jack  10541 2012-01-03 14:56 mailbox.ko
  4 -rw-r--r-- 1 jack jack   1504 2012-01-03 14:55 mailbox.mod.c
  4 -rw-r--r-- 1 jack jack   1062 2012-01-03 14:29 Makefile
 36 -rw-r--r-- 1 jack jack  36086 2012-01-03 14:29 mcbsp.c
  4 -rw-r--r-- 1 jack jack   2263 2012-01-03 14:29 mux.c
  4 -rw-r--r-- 1 jack jack   2739 2012-01-03 14:29 ocpi.c
 20 -rw-r--r-- 1 jack jack  19866 2012-01-03 14:29 omap_device.c
  8 -rw-r--r-- 1 jack jack   7252 2012-01-03 14:29 omap-pm-noop.c
  8 -rw-r--r-- 1 jack jack   7171 2012-01-03 14:29 omap-pm-srf.c
  4 -rw-r--r-- 1 jack jack   2757 2012-01-03 14:29 psp-version.c
  4 -rw-r--r-- 1 jack jack   1202 2012-01-03 14:29 psp-version.h
 12 -rw-r--r-- 1 jack jack  12199 2012-01-03 14:29 resource.c
 16 -rw-r--r-- 1 jack jack  12884 2012-01-03 14:29 sram.c
 20 -rw-r--r-- 1 jack jack  18770 2012-01-03 14:29 usb.c
4-4 79 Snippet from Linux 2.6 .config
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.32
# Tue Jan  3 15:00:03 2012
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y