Pandaboard ES (Android) Hangs with

401 views
Skip to first unread message

jsandhu

unread,
Feb 9, 2012, 12:25:24 PM2/9/12
to pandaboard, psand...@gmail.com
HI,

Step1: Got Uboot, MLO built using Linaro

git clone git://git.linaro.org/boot/u-boot-linaro-stable.git

Here is log:
Cloning into u-boot-linaro-stable...
remote: Counting objects: 167162, done.
remote: Compressing objects: 100% (33998/33998), done.
remote: Total 167162 (delta 135176), reused 163069 (delta 131255)
Receiving objects: 100% (167162/167162), 43.86 MiB | 283 KiB/s, done.
Resolving deltas: 100% (135176/135176), done.


cd u-boot-linaro-stable
git checkout -b pandaboard-es origin/Linaro-u-boot-2011.12

Step2: Built Kernel from
git clone git://git.omapzoom.org/kernel/omap.git kernel/android-3.0
cd kernel/android-3.0
git checkout ba85feb915a37bfd798deb3e24ae9fdd58cba6aa

Step3: Got ICS AOSP Android 4.0.3 master branch
repo init -u https://android.googlesource.com/platform/manifest
repo sync

This is master branch. However, I forgot to copy the kernel I built
into the kernel directory of the source build. Is that can cause the
Issue I am seeing?

Step4: Prepared SD card manually

a) Created 3 partitions (boot, media and rootfs (ext4))
b) Copied uboot, MLO and Uimage to /dev/sdb1 boot partion
b) Nothing on media partition
c) Copied root/* system directory from Android source code
built for Pandaboard to the rootfs partition

Step5: Put SD card in the Pandaboard.

Step6: Turn it on and check Minicom log

Issue: It has thrown the following error in the logs and it hangs
after display the message
Texas Instruments OMAP4460 ES1.1

It simply hangs right here.

Here is log. I will post the steps and logs

00000000-0000-0000-0000-000000000000mmcblk0p3
[ 66.093933] No filesystem could mount root, tried: ext3
[ 66.099884] Kernel panic - not syncing: VFS: Unable to mount root
fs on unknown-block(179,2)<---

[ 66.109161] Backtrace:
[ 66.111968] [<c00511a0>] (dump_backtrace+0x0/0x110) from
[<c05a09d0>] (dump_stack+0x18/0x1c)
[ 66.121246] r6:de840020 r5:00000000 r4:c07c15c8 r3:de840000
[ 66.127746] [<c05a09b8>] (dump_stack+0x0/0x1c) from [<c05a0a64>]
(panic+0x90/0x1bc)
[ 66.136169] [<c05a09d4>] (panic+0x0/0x1bc) from [<c0008f88>]
(mount_block_root+0x2bc/0x2d8)
[ 66.145355] r3:de841f2c r2:00000020 r1:de841f60 r0:c06c4c28
[ 66.151794] r7:00008000
[ 66.154663] [<c0008ccc>] (mount_block_root+0x0/0x2d8) from
[<c0009008>] (mount_root+0x64/0x68)
[ 66.164154] [<c0008fa4>] (mount_root+0x0/0x68) from [<c00091ac>]
(prepare_namespace+0x1a0/0x1dc)
[ 66.173767] r5:c0038f35 r4:c07be920
[ 66.177856] [<c000900c>] (prepare_namespace+0x0/0x1dc) from
[<c0008464>] (kernel_init+0x130/0x13c)
[ 66.187683] r5:c00384ec r4:c00384ec
[ 66.191772] [<c0008334>] (kernel_init+0x0/0x13c) from [<c009b508>]
(do_exit+0x0/0x720)
[ 66.200439] r5:c0008334 r4:00000000
[ 66.204559] CPU0: stopping
[ 66.207550] Backtrace:
[ 66.210327] [<c00511a0>] (dump_backtrace+0x0/0x110) from
[<c05a09d0>] (dump_stack+0x18/0x1c)
[ 66.219604] r6:c075e000 r5:c0044e80 r4:c0770260 r3:c075e000
[ 66.226043] [<c05a09b8>] (dump_stack+0x0/0x1c) from [<c00463dc>]
(do_IPI+0x180/0x198)
[ 66.234619] [<c004625c>] (do_IPI+0x0/0x198) from [<c004c9c8>]
(__irq_svc+0x48/0xe0)
[ 66.243041] Exception stack(0xc075fee8 to 0xc075ff30)
[ 66.248565] fee0: c075ff30 00000000 69a143e0
0000000f c0f47100 c075ff30
[ 66.257568] ff00: 698c4f75 0000000f 69a143e0 0000000f 00000000
c075ff64 0bb92fe0 c075ff30
[ 66.266540] ff20: 00000000 c0066b1c 00000113 ffffffff
[ 66.272094] [<c0066adc>] (omap4_enter_idle_wfi+0x0/0x108) from
[<c03a99d4>] (cpuidle_idle_call+0xb0/0x128)
[ 66.282684] r9:c0066adc r8:8000406a r7:c07785cc r6:c0f47110
r5:c083559c
[ 66.290130] r4:c0f47100
[ 66.293121] [<c03a9924>] (cpuidle_idle_call+0x0/0x128) from
[<c004e7fc>] (cpu_idle+0xd0/0x104)
[ 66.302612] r9:412fc09a r8:8000406a r6:c05aa77c r5:c07be984
r4:c075e000
[ 66.309967] r3:00000000


[ 66.312988] [<c004e72c>] (cpu_idle+0x0/0x104) from [<c05960a4>]
(rest_init+0xa0/0xa4)
[ 66.321594] r7:00000000 r6:c003952c r5:00000002 r4:c075e000
[ 66.328094] [<c0596004>] (rest_init+0x0/0xa4) from [<c00089c8>]
(start_kernel+0x2f4/0x300)
[ 66.337127] r5:c07be8c0 r4:c07703dc
[ 66.341247] [<c00086d4>] (start_kernel+0x0/0x300) from [<8000803c>]
(0x8000803c)
[ 66.349334] r7:c07785ac r6:c0039528 r5:c07702c0 r4:10c5387d
[ 66.355834] Rebooting in 5 seconds..
U-Boot SPL 2011.12-rc1 (Feb 03 2012 - 15:55:00)
Texas Instruments OMAP4460 ES1.1

It simply hangs right here.

jsandhu

unread,
Feb 9, 2012, 12:26:36 PM2/9/12
to pandaboard
Here is full log:

OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2011.12-rc1 (Feb 03 2012 - 15:55:00)

CPU : OMAP4460 ES1.1
Board: OMAP4 Panda
I2C: ready
DRAM: 1 GiB
WARNING: Caches not enabled
MMC: OMAP SD/MMC: 0
Using default environment

In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
reading uEnv.txt

** Unable to read "uEnv.txt" from mmc 0:1 **
reading boot.scr

** Unable to read "boot.scr" from mmc 0:1 **
reading uImage

3990156 bytes read
Booting from mmc0 ...
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.0.8-00006-gba85feb
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3990092 Bytes = 3.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.0.8-00006-gba85feb (jsandhu@ekamtv)
(gcc version 4.4.1 (Sourcery G++ Lite 2010q1-2
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7),
cr=10c5387f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[ 0.000000] Machine: OMAP4 Panda board
[ 0.000000] Truncating RAM at 80000000-bfffffff to -afffffff
(vmalloc region overlap).
[ 0.000000] Reserving 16777216 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] OMAP4460 ES1.1
[ 0.000000] SRAM: Mapped pa 0x40300000 to va 0xfe400000 size:
0xd000
[ 0.000000] On node 0 totalpages: 126976
[ 0.000000] free_area_init_node: node 0, pgdat c07be0a0,
node_mem_map c093d000
[ 0.000000] Normal zone: 1536 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 125440 pages, LIFO batch:31
[ 0.000000] PERCPU: Embedded 7 pages/cpu @c0f47000 s6912 r8192
d13568 u32768
[ 0.000000] pcpu-alloc: s6912 r8192 d13568 u32768 alloc=8*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 125440
[ 0.000000] Kernel command line: console=ttyO2,115200n8 mem=1G
androidboot.console=ttyO2 console=ttyO2,115200t
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6,
262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072
bytes)
[ 0.000000] Memory: 496MB = 496MB total
[ 0.000000] Memory: 491804k/491804k available, 294628k reserved, 0K
highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xf0800000 - 0xf8000000 ( 120 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc0046000 ( 248 kB)
[ 0.000000] .text : 0xc0046000 - 0xc075d000 (7260 kB)
[ 0.000000] .data : 0xc075e000 - 0xc07be880 ( 387 kB)
[ 0.000000] .bss : 0xc07be8a4 - 0xc093cf78 (1530 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0,
CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:410
[ 0.000000] omap_hwmod: dpll_mpu_m2_ck: missing clockdomain for
dpll_mpu_m2_ck.
[ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns,
wraps every 131071999ms
[ 0.000030] Calibrating delay loop... 1392.74 BogoMIPS
(lpj=5439488)
[ 0.007904] pid_max: default: 32768 minimum: 301
[ 0.007904] Mount-cache hash table entries: 512
[ 0.070678] Initializing cgroup subsys debug
[ 0.071380] Initializing cgroup subsys cpuacct
[ 0.071441] Initializing cgroup subsys freezer
[ 0.071441] CPU: Testing write buffer coherency: ok
[ 0.071746] L310 cache controller enabled
[ 0.071746] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL
0x5e470000, Cache size: 1048576 B
[ 0.149902] CPU1: Booted secondary processor
[ 0.220245] Brought up 2 CPUs
[ 0.220245] SMP: Total of 2 processors activated (2792.83
BogoMIPS).
[ 0.220458] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for emif_fw
[ 0.223602] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l3_instr
[ 0.223602] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l3_main_1
[ 0.223632] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l3_main_2
[ 0.223632] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l4_abe
[ 0.223663] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l4_cfg
[ 0.223663] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l4_per
[ 0.223663] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l4_wkup
[ 0.223693] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for mpu_private
[ 0.223754] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for sl2if
[ 0.223754] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for thermal_sensor
[ 0.223815] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for usbhs_ohci
[ 0.223815] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for usbhs_ehci
[ 0.224060] omap_hwmod: l3_div_ck: missing clockdomain for
l3_div_ck.
[ 0.224060] omap_hwmod: l4_div_ck: missing clockdomain for
l4_div_ck.
[ 0.232147] omap_hwmod: mcpdm: cannot be enabled (3)
[ 0.234252] print_constraints: dummy:
[ 0.234893] NET: Registered protocol family 16
[ 0.234893] GPMC revision 6.0
[ 0.235839] EMIF0 is enabled with IRQ142
[ 0.235839] EMIF1 is enabled with IRQ143
[ 0.236389] Last reset was cold reset (PRM_RSTST=0x1)
[ 0.236389]
[ 0.236938] OMAP GPIO hardware version 0.1
[ 0.238220] omap_mux_init: Add partition: #1: core, flags: 2
[ 0.238220] omap_mux_init: Add partition: #2: wkup, flags: 2
[ 0.241180] omap_mux_get_by_name: Could not find signal
uart1_cts.uart1_cts
[ 0.241180] omap_hwmod_mux_init: Could not allocate device mux
entry
[ 0.252502] OMAP DMA hardware revision 0.0
[ 0.252502] omap_rproc_get_pool: carveout memory is unavailable:
0x0, 0x0
[ 0.260223] bio: create slab <bio-0> at 0
[ 0.260620] print_constraints: vwl1271: 1800 mV
[ 0.260620] i2c-core: driver [twl] using legacy suspend method
[ 0.261352] i2c-core: driver [twl] using legacy resume method
[ 0.261352] SCSI subsystem initialized
[ 0.261901] usbcore: registered new interface driver usbfs
[ 0.261901] usbcore: registered new interface driver hub
[ 0.262176] usbcore: registered new device driver usb
[ 0.262878] omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
[ 0.263580] Skipping twl internal clock init and using bootloader
value (unknown osc rate)
[ 0.263580] twl6030: PIH (irq 39) chaining IRQs 368..387
[ 0.265808] print_constraints: VUSB: 3300 mV normal standby
[ 0.468780] twl6030_usb twl6030_usb: Initialized TWL6030 USB module
[ 0.469360] print_constraints: VMMC: 1200 <--> 3000 mV at 3000 mV
normal standby
[ 0.469787] print_constraints: VPP: 1800 <--> 2500 mV at 1900 mV
normal standby
[ 0.470275] print_constraints: VCXIO: 1800 mV normal standby
[ 0.470275] print_constraints: VDAC: 1800 mV normal standby
[ 0.471008] print_constraints: VAUX2_6030: 1200 <--> 2800 mV at
1800 mV normal standby
[ 0.471527] print_constraints: VAUX3_6030: 1000 <--> 3000 mV at
1200 mV normal standby
[ 0.472442] print_constraints: CLK32KG:
[ 0.472442] print_constraints: VANA: 2100 mV normal standby
[ 0.472930] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
[ 0.473205] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
[ 0.473571] omap_i2c omap_i2c.4: bus 4 rev4.0 at 400 kHz
[ 0.473693] omap-rproc omap-rproc.0: dsp is available
[ 0.474151] omap-rproc omap-rproc.1: ipu is available
[ 0.474151] Advanced Linux Sound Architecture Driver Version
1.0.24.
[ 0.474334] Bluetooth: Core ver 2.16
[ 0.474334] NET: Registered protocol family 31
[ 0.475067] Bluetooth: HCI device and connection manager
initialized
[ 0.475097] Bluetooth: HCI socket layer initialized
[ 0.475097] Bluetooth: L2CAP socket layer initialized
[ 0.475097] Bluetooth: SCO socket layer initialized
[ 0.475555] cfg80211: Calling CRDA to update world regulatory
domain
[ 0.475708] Switching to clocksource 32k_counter
[ 0.477996] Switched to NOHz mode on CPU #0
[ 0.478057] Switched to NOHz mode on CPU #1
[ 0.478454] musb-hdrc: version 6.0, musb-dma, peripheral
[ 0.478698] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk
combine, bulk split, HB-ISO Rx, HB-ISO Tx, So)
[ 0.478759] musb-hdrc: MHDRC RTL version 2.0
[ 0.478790] musb-hdrc: setup fifo_mode 4
[ 0.478790] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 0.478820] musb-hdrc musb-hdrc: USB Peripheral mode controller at
fc0ab000 using DMA, IRQ 124
[ 0.479248] NET: Registered protocol family 2
[ 0.479705] IP route cache hash table entries: 4096 (order: 2,
16384 bytes)
[ 0.479705] TCP established hash table entries: 16384 (order: 5,
131072 bytes)
[ 0.480895] TCP bind hash table entries: 16384 (order: 6, 393216
bytes)
[ 0.480895] TCP: Hash tables configured (established 16384 bind
16384)
[ 0.481567] TCP reno registered
[ 0.481567] UDP hash table entries: 256 (order: 2, 16384 bytes)
[ 0.481628] UDP-Lite hash table entries: 256 (order: 2, 16384
bytes)
[ 0.481628] NET: Registered protocol family 1
[ 1.101654] omap_init_opp_table: no hwmod or odev for hsi, [22]
cannot add OPPs.
[ 1.101684] omap_init_opp_table: no hwmod or odev for hsi, [23]
cannot add OPPs.
[ 1.226654] ram_console: got buffer at a0000000, size 200000
[ 1.226654] ram_console: error in header, 6
[ 1.227722] ram_console: found existing buffer, size 29388, start
29388
[ 1.319580] console [ram-1] enabled
[ 1.319641] omap-iommu omap-iommu.0: ducati registered
[ 1.320404] omap-iommu omap-iommu.1: tesla registered
[ 1.325958] ashmem: initialized
[ 1.331634] fuse init (API version 7.16)
[ 1.331634] msgmni has been set to 960
[ 1.336181] io scheduler noop registered
[ 1.336273] io scheduler deadline registered
[ 1.336273] io scheduler cfq registered (default)
[ 1.336456] start plist test
[ 1.336456] end plist test
[ 1.346466] OMAP DSS rev 4.0
[ 1.354309] dsscomp: initializing.
[ 1.354827] misc dsscomp: display0=generic_dpi_panel
[ 1.354827] misc dsscomp: display1=hdmi_panel
[ 1.354827] misc dsscomp: found 2 displays and 4 overlays
[ 1.355560] could not allocate slot
[ 1.355865] omap-rproc omap-rproc.1: powering up ipu
[ 1.356231] virtio_rpmsg_bus virtio0: rpmsg backend virtproc probed
successfully
[ 1.356231] virtio_rpmsg_bus virtio1: rpmsg backend virtproc probed
successfully
[ 1.356231] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a
OMAP UART0
[ 1.394531] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a
OMAP UART1
[ 1.402252] in hpd work 1, state=0
[ 1.402282] omapdss HDMI: ENTER hdmi_display_enable
[ 1.406372] omapdss HDMI: Set c-state constraint for HDMI
[ 1.406372]
[ 1.414276] omap_uart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a
OMAP UART2
[ 2.443206] in hpd work 2, state=1
[ 2.446990] console [ttyO2] enabled
[ 2.523559] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a
OMAP UART3
[ 2.656494] omap_ion_probe: adding heap secure_input of type 2 with
ba300000@5a00000
[ 2.665435] omap_ion_probe: adding heap tiler of type 4 with
ada00000@6000000
[ 2.673461] omap_ion_probe: adding heap nonsecure_tiler of type 4
with a0200000@2000000
[ 2.682464] PVR: PVRCore_Init
[ 2.686218] PVR: PVRSRVDriverProbe(pDevice=de8ad800)
[ 2.691833] PVR: SGX register base: 0x56000000
[ 2.696807] PVR: SGX register size: 65535
[ 2.696868] PVR: SGX IRQ: 53
[ 2.704650] PVR: EnableSystemClocks: Enabling System Clocks
[ 2.710906] PVR_K:(Warning): EnableSGXClocks: Unable to scale SGX
frequency (EBUSY) [167, drivers/gpu/pvr/oma]
[ 2.723907] PVR_K:(Warning): EnableSGXClocks: Unable to scale SGX
frequency (EBUSY) [167, drivers/gpu/pvr/oma]
[ 2.737121] PVR: PVRCore_Init: major device 251
[ 2.742279] brd: module loaded
[ 2.765716] loop: module loaded
[ 2.778289] PPP generic driver version 2.4.2
[ 2.784606] PPP Deflate Compression module registered
[ 2.790252] PPP BSD Compression module registered
[ 2.796417] PPP MPPE Compression module registered
[ 2.801788] NET: Registered protocol family 24
[ 2.806884] usbcore: registered new interface driver asix
[ 2.814910] usbcore: registered new interface driver cdc_ether
[ 2.821563] usbcore: registered new interface driver smsc95xx
[ 2.821807] usbcore: registered new interface driver net1080
[ 2.834442] usbcore: registered new interface driver cdc_subset
[ 2.841094] usbcore: registered new interface driver zaurus
[ 2.847381] cdc_ncm: 04-Aug-2011
[ 2.847412] usbcore: registered new interface driver cdc_ncm
[ 2.857421] usbcore: registered new interface driver zd1201
[ 2.863769] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver
[ 2.871215] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 2.877655] ehci-omap ehci-omap.0: new USB bus registered, assigned
bus number 1
[ 2.886108] ehci-omap ehci-omap.0: irq 109, io mem 0x4a064c00
[ 2.906402] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 2.906402] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002
[ 2.920501] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 2.928588] usb usb1: Product: OMAP-EHCI Host Controller
[ 2.934509] usb usb1: Manufacturer: Linux 3.0.8-00006-gba85feb
ehci_hcd
[ 2.941925] usb usb1: SerialNumber: ehci-omap.0
[ 2.947540] hub 1-0:1.0: USB hub found
[ 2.947540] hub 1-0:1.0: 3 ports detected
[ 2.984680] usbcore: registered new interface driver cdc_acm
[ 2.984680] cdc_acm: USB Abstract Control Model driver for USB
modems and ISDN adapters
[ 2.999908] Initializing USB Mass Storage driver...
[ 3.005523] usbcore: registered new interface driver usb-storage
[ 3.012237] USB Mass Storage support registered.
[ 3.017669] usbcore: registered new interface driver usbserial
[ 3.024169] usbserial: USB Serial Driver core
[ 3.024230] USB Serial support registered for Keyspan - (without
firmware)
[ 3.036834] USB Serial support registered for Keyspan 1 port
adapter
[ 3.044036] USB Serial support registered for Keyspan 2 port
adapter
[ 3.051147] USB Serial support registered for Keyspan 4 port
adapter
[ 3.058441] usbcore: registered new interface driver keyspan
[ 3.064727] keyspan: v1.1.5:Keyspan USB to Serial Converter Driver
[ 3.088195] edid[000] = 00 ff ff ff ff ff ff 00 59 3a 35 00 01 01
01 01
[ 3.164001] edid[010] = 0d 12 01 03 80 46 27 78 0a 9d 1b a3 55 4a
9a 25
[ 3.171447] edid[020] = 10 47 4a af ce 00 81 c0 01 01 01 01 01 01
01 01
[ 3.178863] edid[030] = 01 01 01 01 01 01 66 21 56 b0 51 00 1b 30
80 82
[ 3.186248] edid[040] = 26 00 bc 86 21 00 00 1a 00 00 00 fd 00 32
4d 1f
[ 3.193664] edid[050] = 46 0f 00 0a 20 20 20 20 20 20 00 00 00 ff
00 55
[ 3.201019] edid[060] = 4b 45 41 44 4b 30 31 30 30 30 30 31 00 00
00 fc
[ 3.208465] edid[070] = 00 56 4f 33 32 30 45 0a 20 20 20 20 20 20
01 ae
[ 3.219024] edid[080] = 02 03 1c 71 49 20 84 01 03 13 05 12 15 14
23 09
[ 3.227691] edid[090] = 07 03 83 01 00 00 65 03 0c 00 10 00 01 1d
00 bc
[ 3.235137] edid[0a0] = 52 d0 1e 20 b8 28 55 40 bc 86 21 00 00 1e
01 1d
[ 3.242462] edid[0b0] = 80 d0 72 1c 16 20 10 2c 25 80 bc 86 21 00
00 9e
[ 3.249877] edid[0c0] = 8c 0a d0 8a 20 e0 2d 10 10 3e 96 00 bc 86
21 00
[ 3.257232] edid[0d0] = 00 18 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.264648] edid[0e0] = 00 00 00 00 8c 0a d0 90 20 40 31 20 0c 40
55 00
[ 3.272064] edid[0f0] = bc 86 21 00 00 18 00 00 00 00 00 00 00 00
00 59
[ 3.279388] edid[100] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.286804] edid[110] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.294158] usb 1-1: new high speed USB device number 2 using ehci-
omap
[ 3.301605] edid[120] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.309020] edid[130] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.316314] edid[140] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.323699] edid[150] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.330993] edid[160] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.338348] edid[170] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.345642] edid[180] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.348358] edid[190] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.357299] android_usb gadget: Mass Storage Function, version:
2009/09/11
[ 3.357330] android_usb gadget: Number of LUNs=1
[ 3.357330] lun0: LUN: removable file: (no medium)
[ 3.357574] android_usb gadget: android_usb ready
[ 3.357635] mousedev: PS/2 mouse device common for all mice
[ 3.358947] twl_rtc twl_rtc: Power up reset detected.
[ 3.360015] twl_rtc twl_rtc: Enabling TWL-RTC.
[ 3.361511] using rtc device, twl_rtc, for alarms
[ 3.361907] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 3.412597] edid[1a0] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.420196] edid[1b0] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.420196] i2c /dev entries driver
[ 3.421081] lirc_dev: IR Remote Control driver registered, major
248
[ 3.421081] IR NEC protocol handler initialized
[ 3.421081] IR RC5(x) protocol handler initialized
[ 3.421112] IR RC6 protocol handler initialized
[ 3.421112] IR JVC protocol handler initialized
[ 3.421112] IR Sony protocol handler initialized
[ 3.421112] IR RC5 (streamzap) protocol handler initialized
[ 3.421142] IR LIRC bridge handler initialized
[ 3.421142] dmm: probe base: fd300000, irq 145
[ 3.424011] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 3.425628] device-mapper: uevent: version 1.0.3
[ 3.425964] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02)
initialised: dm-d...@redhat.com
[ 3.425994] Bluetooth: HCI UART driver ver 2.2
[ 3.426025] Bluetooth: HCI H4 protocol initialized
[ 3.426055] cpuidle: using governor ladder
[ 3.426055] cpuidle: using governor menu
[ 3.430969] usbcore: registered new interface driver usbhid
[ 3.430969] usbhid: USB HID core driver
[ 3.531402] edid[1c0] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.531707] logger: created 256K log 'log_main'
[ 3.531799] logger: created 256K log 'log_events'
[ 3.531921] logger: created 256K log 'log_radio'
[ 3.532043] logger: created 256K log 'log_system'
[ 3.532226] thermal_governor_dev_register:Adding
omap_ondie_governor governor
[ 3.532531] thermal_sensor_dev_register:Found cpu cpu
[ 3.532562] thermal_sensor_dev_register:Adding omap_ondie_sensor
sensor
[ 3.534606] thermal_sensor_set_temp:No cooling agents for domain
cpu
[ 3.534606] omap_report_temp:thermal_sensor_set_temp reports error
[ 3.534973] thermal_sensor_set_temp:No cooling agents for domain
cpu
[ 3.535034] omap_temp_sensor omap_temp_sensor.0:
omap_ondie_sensor : 'omap_temp_sensor'
[ 3.537902] SDP4430 SoC init
[ 3.539062] thermal_sensor_set_temp:No cooling agents for domain
cpu
[ 3.539062] omap_report_temp:thermal_sensor_set_temp reports error
[ 3.543426] twl6040-codec twl6040-codec: couldn't get VDDHF
regulator -19
[ 3.634368] edid[1d0] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.641845] edid[1e0] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.649261] edid[1f0] = 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
[ 3.656768] panel size 70 by 39
[ 3.657073] usb 1-1: New USB device found, idVendor=0424,
idProduct=9514
[ 3.657073] usb 1-1: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 3.657775] hub 1-1:1.0: USB hub found
[ 3.657928] hub 1-1:1.0: 5 ports detected
[ 3.694274] asoc: null-codec-dai <-> MultiMedia1 mapping ok
[ 3.701629] asoc: null-codec-dai <-> MultiMedia2 mapping ok
[ 3.709411] asoc: null-codec-dai <-> Voice mapping ok
[ 3.716217] asoc: null-codec-dai <-> Tones mapping ok
[ 3.722961] asoc: null-codec-dai <-> Vibra mapping ok
[ 3.729431] asoc: null-codec-dai <-> MODEM mapping ok
[ 3.735870] asoc: null-codec-dai <-> MultiMedia1 LP mapping ok
[ 3.743957] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
[ 3.751403] asoc: twl6040-dl1 <-> mcpdm-dl mapping ok
[ 3.758972] asoc: dmic-hifi <-> omap-dmic-dai-0 mapping ok
[ 3.766876] twl6040-codec twl6040-codec: ASoC: Failed to create Aux/
FM Stereo In debugfs file
[ 3.777343] asoc: twl6040-dl1 <-> mcpdm-dl1 mapping ok
[ 3.784027] asoc: twl6040-ul <-> mcpdm-ul1 mapping ok
[ 3.790649] asoc: twl6040-dl2 <-> mcpdm-dl2 mapping ok
[ 3.797302] asoc: twl6040-vib <-> mcpdm-vib mapping ok
[ 3.804016] asoc: Bluetooth <-> omap-mcbsp-dai.0 mapping ok
[ 3.811248] asoc: Bluetooth <-> omap-mcbsp-dai.0 mapping ok
[ 3.818481] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
[ 3.825714] asoc: MODEM <-> omap-mcbsp-dai.1 mapping ok
[ 3.832611] asoc: dmic-hifi <-> omap-dmic-abe-dai-0 mapping ok
[ 3.840057] asoc: dmic-hifi <-> omap-dmic-abe-dai-1 mapping ok
[ 3.847564] asoc: dmic-hifi <-> omap-dmic-abe-dai-2 mapping ok
[ 3.856323] input: Panda Headset Jack as /devices/platform/soc-
audio/sound/card0/input0
[ 3.867645] ALSA device list:
[ 3.870941] #0: TI OMAP4 Board
[ 3.874603] GACT probability NOT on
[ 3.878601] Mirror/redirect action on
[ 3.882690] u32 classifier
[ 3.885803] Actions configured
[ 3.889709] Netfilter messages via NETLINK v0.30.
[ 3.894989] nf_conntrack version 0.5.0 (7684 buckets, 30736 max)
[ 3.902801] ctnetlink v0.93: registering with nfnetlink.
[ 3.909210] xt_time: kernel timezone is -0000
[ 3.916473] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.922515] mmc0: host does not support reading read-only switch.
assuming write-enable.
[ 3.931579] arp_tables: (C) 2002 David S. Miller
[ 3.936798] TCP cubic registered
[ 3.941131] NET: Registered protocol family 10
[ 3.946441] usb 1-1.1: new high speed USB device number 3 using
ehci-omap
[ 3.959808] Mobile IPv6
[ 3.962677] mmc0: new high speed SDHC card at address aaaa
[ 3.969329] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
[ 3.974700] IPv6 over IPv4 tunneling driver
[ 3.985443] NET: Registered protocol family 17
[ 3.990417] mmcblk0: p1 p2 p3
[ 4.000122] NET: Registered protocol family 15
[ 4.007995] Bluetooth: RFCOMM TTY layer initialized
[ 4.013397] Bluetooth: RFCOMM socket layer initialized
[ 4.031341] Bluetooth: RFCOMM ver 1.11
[ 4.035552] NET: Registered protocol family 35
[ 4.055358] lib80211: common routines for IEEE802.11 drivers
[ 4.061614] lib80211_crypt: registered algorithm 'NULL'
[ 4.078216] VFP support v0.3: implementor 41 architecture 3 part 30
variant 9 rev 4
[ 4.093872] ThumbEE CPU extension supported.
[ 4.101715] usb 1-1.1: New USB device found, idVendor=0424,
idProduct=ec00
[ 4.109283] usb 1-1.1: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 4.117401] Registering SWP/SWPB emulation handler
[ 4.136352] smsc95xx v1.0.4
[ 4.141326] Reprogramming LPDDR2 timings to 400000000 Hz
[ 4.148925] thermal_cooling_dev_register:Found cpu cpu
[ 4.154571] thermal_request_temp:Getting temp is not supported for
domain cpu
[ 4.163055] Power Management for TI OMAP4.
[ 4.167755] OMAP4 PM: Static dependency added between MPUSS and
DUCATI <-> L4_PER/CFG and L3_1.
[ 4.177917] sr_init: No PMIC hook to init smartreflex
[ 4.183624] smartreflex smartreflex.0: omap_sr_probe: SmartReflex
driver initialized
[ 4.192352] smartreflex smartreflex.1: omap_sr_probe: SmartReflex
driver initialized
[ 4.200012] mmc1: card claims to support voltages below the defined
range. These will be ignored.
[ 4.210784] smartreflex smartreflex.2: omap_sr_probe: SmartReflex
driver initialized
[ 4.220428] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 4.227905] clock: disabling unused clocks to save power
[ 4.228515] mmc1: new SDIO card at address 0001
[ 4.234527] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-
ehci-omap.0-1.1, smsc95xx USB 2.0 Ethernet, e
[ 4.435424] cannot apply mgr(lcd) on inactive device
[ 4.440887] omapfb omapfb: failed to apply dispc config
[ 4.446594] cannot apply mgr(lcd2) on inactive device
[ 4.452148] omapfb omapfb: failed to apply dispc config
[ 4.457916] omapdss DPI: Could not find exact pixel clock.
Requested 74250 kHz, got 76800 kHz
[ 4.469787] regulator_init_complete: VANA: incomplete constraints,
leaving on
[ 4.478607] regulator_init_complete: VCXIO: incomplete constraints,
leaving on
[ 4.486694] usb 1-1.2: new low speed USB device number 4 using ehci-
omap
[ 4.494567] regulator_init_complete: VUSB: incomplete constraints,
leaving on
[ 4.503540] omaplfb OMAPLFBInitFBDev: Device 0: Requesting 4 TILER
2D framebuffers
[ 4.515136] twl_rtc twl_rtc: setting system clock to 2000-01-01
00:00:01 UTC (946684801)
[ 4.531372] omap_cpu_thermal_manager:sensor 36400 avg sensor 0 pcb
0, delta 4563 hot spot 40963
[ 4.540954] omap_safe_zone:hot spot temp 40963
[ 4.628753] usb 1-1.2: New USB device found, idVendor=1c4f,
idProduct=0002
[ 4.636535] usb 1-1.2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 4.644714] usb 1-1.2: Product: USB Keykoard
[ 4.649688] usb 1-1.2: Manufacturer: USB
[ 4.659545] input: USB USB Keykoard as /devices/platform/omap/
usbhs_omap/ehci-omap.0/usb1/1-1/1-1.2/1-1.2:1.01
[ 4.672454] generic-usb 0003:1C4F:0002.0001: input: USB HID v1.10
Keyboard [USB USB Keykoard] on usb-ehci-oma0
[ 4.689819] input: USB USB Keykoard as /devices/platform/omap/
usbhs_omap/ehci-omap.0/usb1/1-1/1-1.2/1-1.2:1.12
[ 4.702392] generic-usb 0003:1C4F:0002.0002: input: USB HID v1.10
Device [USB USB Keykoard] on usb-ehci-omap.1
[ 4.953521] usb 1-1.3: new low speed USB device number 5 using ehci-
omap
[ 5.087249] usb 1-1.3: New USB device found, idVendor=045e,
idProduct=00e1
[ 5.094940] usb 1-1.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 5.103240] usb 1-1.3: Product: Microsoft Wireless Optical Mouse�®
1.00
[ 5.110748] usb 1-1.3: Manufacturer: Microsoft
[ 5.130828] input: Microsoft Microsoft Wireless Optical Mouse�®
1.00 as /devices/platform/omap/usbhs_omap/ehc3
[ 5.146850] generic-usb 0003:045E:00E1.0003: input: USB HID v1.11
Mouse [Microsoft Microsoft Wireless Optical0
[ 62.008972] omap-rproc omap-rproc.1: rproc_loader_cont: failed to
load ducati-m3.bin
[ 65.133209] wl1271: ERROR could not get nvs file: -2
[ 65.149810] wl1271: loaded
[ 65.152954] wl1271: initialized
[ 66.054840] List of all partitions:
[ 66.058898] b300 3872256 mmcblk0 driver: mmcblk
[ 66.065277] b301 65536 mmcblk0p1
00000000-0000-0000-0000-000000000000mmcblk0p1
[ 66.074920] b302 1048576 mmcblk0p2
00000000-0000-0000-0000-000000000000mmcblk0p2
[ 66.084747] b303 2757120 mmcblk0p3
00000000-0000-0000-0000-000000000000mmcblk0p3
[ 66.093933] No filesystem could mount root, tried: ext3
[ 66.099884] Kernel panic - not syncing: VFS: Unable to mount root
fs on unknown-block(179,2)
>             repo init -uhttps://android.googlesource.com/platform/manifest

jsandhu

unread,
Feb 9, 2012, 12:29:52 PM2/9/12
to pandaboard
Here are build steps:

Bootloader
Getting the Source
To get the source code for U-Boot, clone a copy of the Linaro U-Boot
stable tree:
source ~/.profile
prj
mkdir pandaboard-es
cd pandaboard-es
git clone git://git.linaro.org/boot/u-boot-linaro-stable.git

Here is log:
Cloning into u-boot-linaro-stable...
remote: Counting objects: 167162, done.
remote: Compressing objects: 100% (33998/33998), done.
remote: Total 167162 (delta 135176), reused 163069 (delta 131255)
Receiving objects: 100% (167162/167162), 43.86 MiB | 283 KiB/s, done.
Resolving deltas: 100% (135176/135176), done.


cd u-boot-linaro-stable
git checkout -b pandaboard-es origin/Linaro-u-boot-2011.12

Branch pandaboard-es set up to track remote branch Linaro-u-
boot-2011.12 from origin.
Switched to a new branch 'pandaboard-es'


As of 12/18/2011, the master branch tagged Linaro-u-boot-2011.12
produces a working MLO/U-Boot pair which will boot both Panda and
Panda-ES boards. Previously, the Panda EA1 with rev ES2.0 silicon
would not boot.
Configure and Compile
To configure and compile U-Boot for PandaBoard ES do the following:
Configure and Compile


Kernel:


Check first toolchain
http://www.arm9board.net/wiki/index.php?title=Codesourcery_toolchain

http://omappedia.org/wiki/L27.IS.2.P2_OMAP4_Icecream_Sandwich_Release_Notes#Building_Kernel
Setup environment first
Setting up build environment
From your work directory (where your 27.IS.2 folder resides):
export YOUR_PATH=`pwd`
export PATH=$PATH:~/project/arm-2009q1/arm-2010q1/bin
export MYDROID=~/project/myheera
mkdir $MYDROID/logs
export CROSS_COMPILE=arm-none-linux-gnueabi-
export U-TOOLS=~/project/panda-es-boot/u-boot-linaro-stable:
export PATH=~/project/panda-es-boot/u-boot-linaro-stable/tools:${PATH}

Kernel & Driver Sources
To clone kernel source from scratch do:
cd ${YOUR_PATH}
mkdir kernel
git clone git://git.omapzoom.org/kernel/omap.git kernel/android-3.0
cd kernel/android-3.0
git checkout ba85feb915a37bfd798deb3e24ae9fdd58cba6aa

? ?git checkout -b android-omap-panda-3.0
Switched to a new branch 'android-omap-panda-3.0'

If you already have kernel source cloned then just update it:
cd $YOUR_PATH/kernel/android-3.0
git fetch origin
git checkout ba85feb915a37bfd798deb3e24ae9fdd58cba6aa

cd ${YOUR_PATH}/kernel/android-3.0
make ARCH=arm distclean
make ARCH=arm panda_defconfig
make ARCH=arm uImage 2>&1 |tee ~/project/logs/kernel_make.out

arch/arm/boot/uImage is ready

AOSP:

Build Android ICS (4.0.3) for Pandaboard ES

Initializing a Build Environment

Reference:
http://source.android.com/source/initializing.html

http://mjanja.co.ke/2011/11/building-android-4-0-on-ubuntu-11-10/
Installing the JDK

script build-2012-02-05.log


The Sun JDK is no longer in Ubuntu's main package repository. In order
to download it, you need to add the appropriate repository and
indicate to the system which JDK should be used.
Java 6: for Gingerbread and newer

$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid
partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk


On Ubuntu 11.10:

sudo apt-get install libx11-dev:i386


32-bit (experimental)
sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \
libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown
\
libxml2-utils xsltproc

Install an “old” GCC
In addition to building applications for the phone, Android’s build
system builds a few tools for the host operating system (such as the
tools in the SDK). The initial release of the Ice Cream Sandwich
source code has a few incompatibilities with the version of the GNU C
compiler which comes with Ubuntu 11.10 (GCC 4.6). Install GCC 4.4 from
Ubuntu’s repositories:

sudo apt-get install gcc-4.4 g++-4.4 g++-4.4-multilib gcc-4.4-multilib


Small fix for libX11, which some statically-linked programs might
need:
sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/
libX11.so


java -version


java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
Configuring USB Access
Under GNU/linux systems (and specifically under Ubuntu systems),
regular users can't directly access USB devices by default. The system
needs to be configured to allow such access.
The recommended approach is to create a file /etc/udev/rules.d/51-
android.rules (as the root user) and to copy the following lines in
it. must be replaced by the actual username of the user who is
authorized to access the phones over USB.


Those new rules take effect the next time a device is plugged in. It
might therefore be necessary to unplug the device and plug it back
into the computer.
This is known to work on both Ubuntu Hardy Heron (8.04.x LTS) and
Lucid Lynx (10.04.x LTS). Other versions of Ubuntu or other variants
of GNU/linux might require different configurations.

Those new rules take effect the next time a device is plugged in. It
might therefore be necessary to unplug the device and plug it back
into the computer.
This is known to work on both Ubuntu Hardy Heron (8.04.x LTS) and
Lucid Lynx (10.04.x LTS). Other versions of Ubuntu or other variants
of GNU/linux might require different configurations.
Setting up ccache
You can optionally tell the build to use the ccache compilation tool.
Ccache acts as a compiler cache that can be used to speed-up rebuilds.
This works very well if you do "make clean" often, or if you
frequently switch between different build products.
Put the following in your .bashrc or equivalent.
export USE_CCACHE=1


By default the cache will be stored in ~/.ccache. If your home
directory is on NFS or some other non-local filesystem, you will want
to specify the directory in your .bashrc as well.
Building…

Download the file using the browser
http://git-repo.googlecode.com/files/repo-1.13

copy to ~/bin directory
e
chmod a+x ~/bin/repo
~/bin
$ cd ~/panda-es-ics


Make sure you have a bin/ directory in your home directory, and that
it is included in your path:
mkdir ~/bin
echo 'export PATH=~/bin:$PATH' >> ~/.profile
source ~/.profile
Initializing a Repo client
After installing Repo, set up your client to access the android source
repository:

Run repo init to bring down the latest version of Repo with all
its most recent bug fixes. You must specify a URL for the manifest,
which specifies where the various repositories included in the Android
source will be placed within your working directory.
When it's done, we want to set things up so we can verify the code
later if we have to. From the terminal:

Code:

gpg --import
Then copy this entire block of text and paste it into the terminal
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

mQGiBEnnWD4RBACt9/h4v9xnnGDou13y3dvOx6/t43LPPIxeJ8eX9WB+8LLuROSV
lFhpHawsVAcFlmi7f7jdSRF+OvtZL9ShPKdLfwBJMNkU66/TZmPewS4m782ndtw7
8tR1cXb197Ob8kOfQB3A9yk2XZ4ei4ZC3i6wVdqHLRxABdncwu5hOF9KXwCgkxMD
u4PVgChaAJzTYJ1EG+UYBIUEAJmfearb0qRAN7dEoff0FeXsEaUA6U90sEoVks0Z
wNj96SA8BL+a1OoEUUfpMhiHyLuQSftxisJxTh+2QclzDviDyaTrkANjdYY7p2cq
/HMdOY7LJlHaqtXmZxXjjtw5Uc2QG8UY8aziU3IE9nTjSwCXeJnuyvoizl9/I1S5
jU5SA/9WwIps4SC84ielIXiGWEqq6i6/sk4I9q1YemZF2XVVKnmI1F4iCMtNKsR4
MGSa1gA8s4iQbsKNWPgp7M3a51JCVCu6l/8zTpA+uUGapw4tWCp4o0dpIvDPBEa9
b/aF/ygcR8mh5hgUfpF9IpXdknOsbKCvM9lSSfRciETykZc4wrRCVGhlIEFuZHJv
aWQgT3BlbiBTb3VyY2UgUHJvamVjdCA8aW5pdGlhbC1jb250cmlidXRpb25AYW5k
cm9pZC5jb20+iGAEExECACAFAknnWD4CGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIX
gAAKCRDorT+BmrEOeNr+AJ42Xy6tEW7r3KzrJxnRX8mij9z8tgCdFfQYiHpYngkI
2t09Ed+9Bm4gmEO5Ag0ESedYRBAIAKVW1JcMBWvV/0Bo9WiByJ9WJ5swMN36/vAl
QN4mWRhfzDOk/Rosdb0csAO/l8Kz0gKQPOfObtyYjvI8JMC3rmi+LIvSUT9806Up
hisyEmmHv6U8gUb/xHLIanXGxwhYzjgeuAXVCsv+EvoPIHbY4L/KvP5x+oCJIDbk
C2b1TvVk9PryzmE4BPIQL/NtgR1oLWm/uWR9zRUFtBnE411aMAN3qnAHBBMZzKMX
LWBGWE0znfRrnczI5p49i2YZJAjyX1P2WzmScK49CV82dzLo71MnrF6fj+Udtb5+
OgTg7Cow+8PRaTkJEW5Y2JIZpnRUq0CYxAmHYX79EMKHDSThf/8AAwUIAJPWsB/M
pK+KMs/s3r6nJrnYLTfdZhtmQXimpoDMJg1zxmL8UfNUKiQZ6esoAWtDgpqt7Y7s
KZ8laHRARonte394hidZzM5nb6hQvpPjt2OlPRsyqVxw4c/KsjADtAuKW9/d8phb
N8bTyOJo856qg4oOEzKG9eeF7oaZTYBy33BTL0408sEBxiMior6b8LrZrAhkqDjA
vUXRwm/fFKgpsOysxC6xi553CxBUCH2omNV6Ka1LNMwzSp9ILz8jEGqmUtkBszwo
G1S8fXgE0Lq3cdDM/GJ4QXP/p6LiwNF99faDMTV3+2SAOGvytOX6KjKVzKOSsfJQ
hN0DlsIw8hqJc0WISQQYEQIACQUCSedYRAIbDAAKCRDorT+BmrEOeCUOAJ9qmR0l
EXzeoxcdoafxqf6gZlJZlACgkWF7wi2YLW3Oa+jv2QSTlrx4KLM=
=Wi5D
-----END PGP PUBLIC KEY BLOCK-----

Control + D saves the key and processes it. Now we can verify Git tags
if we ever need to. Right now, we don't need to






We DO need to finish setting up ccache. Back to the terminal and enter
the following:

Code:

cd ~/panda-es/prebuilt/linux-x86/ccache/ccache -M 50G

Or install ccache on Ubuntu and run the above command

Add binary drivers for Pandaboard ES

http://code.google.com/android/nexus/drivers.html#panda

Download from this link
PandaBoard binaries for Android 4.0.3 (IML74K)
Hardware Component Company Download MD5 Checksum SHA-1 Checksum
Graphics Imagination Technologies Link
411a0feaeb12ff8802b5799bcfcf0e34
151ce2d5b1467d6e8f913d35d8194757510ff4d2



And add binary video drivers.

~/panda-es$ wget https://dl.google.com/dl/android/aosp/imgtec-panda-itl41d-dfebf249.tgz
~/panda-es$ tar zxf imgtec-panda-itl41d-dfebf249.tgz
~/panda-es$ ./extract-imgtec-panda.sh

Read license, and type "I ACCEPT".

Here is the log


Delete disused files.

~/panda/ics$ rm imgtec-panda-itl41d-dfebf249.tgz extract-imgtec-
panda.sh

Reference:
http://fosiao.com/node/19

make fastboot

Building AOSP

Clean things up


Clean everything up and get ready for building with the make clobber
command. From the trusty terminal:

Code:

cd ~/panda-es
make clobber

It will run for a minute or so, and when it's done everything is clean
and ready for a new build.




Initialize and choose your target

There's a built in script to set all the temporary variables and PATH
for building. You need to run it everytime you open a new session. Run
it like so:

Code:

cd ~/panda-es
source build/envsetup.sh
It will run for a bit, and then we're ready to choose our target with
the lunch command. Back to the terminal, and enter:

Code:

lunch
You'll see a window like this:
You need to specify the target by entering the correct number. Here's
a reference:

INFORMATION:


Verizon XOOM = stingray

Wifi XOOM = wingray

GSM Nexus S = crespo

Sprint Nexus S = crespo4g

GSM Galaxy Nexus = maguro

Verizon Galaxy Nexus = toro
**



Type in the correct number, then press enter. It will run for a bit,
then return you to your prompt.


lunch

You're building on Linux

Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_wingray-userdebug
5. full_crespo-userdebug
6. full_maguro-userdebug
7. full_panda-eng

Which would you like? [full-eng] 7

============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.3.0.2.0.1.0
TARGET_PRODUCT=full_panda
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================


After that you’ll be ready to build:
time make CC=gcc-4.4 CXX=g++-4.4 -j4



On Feb 9, 9:25 am, jsandhu <jsandhu2...@gmail.com> wrote:
> HI,
>
> Step1:  Got Uboot, MLO built using Linaro
>
> git clone git://git.linaro.org/boot/u-boot-linaro-stable.git
>
> Here is log:
> Cloning into u-boot-linaro-stable...
> remote: Counting objects: 167162, done.
> remote: Compressing objects: 100% (33998/33998), done.
> remote: Total 167162 (delta 135176), reused 163069 (delta 131255)
> Receiving objects: 100% (167162/167162), 43.86 MiB | 283 KiB/s, done.
> Resolving deltas: 100% (135176/135176), done.
>
> cd u-boot-linaro-stable
> git checkout -b pandaboard-es origin/Linaro-u-boot-2011.12
>
> Step2:  Built Kernel from
> git clone git://git.omapzoom.org/kernel/omap.git kernel/android-3.0
> cd kernel/android-3.0
> git checkout ba85feb915a37bfd798deb3e24ae9fdd58cba6aa
>
> Step3:  Got ICS AOSP Android 4.0.3 master branch
>             repo init -uhttps://android.googlesource.com/platform/manifest
Reply all
Reply to author
Forward
0 new messages