Modify

Opened 7 years ago

Closed 7 years ago

Last modified 2 years ago

#5624 closed defect (worksforme)

17107 version compiling troubles

Reported by: desigabri Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: -t option Cc:

Description

hi,
compiled v17107 trunk from scratch isn't able to compile some bin images returning error:
"-t option doesn't exist" and other descriptions about the trouble and the list of otions available where you can see that "-t" is not listed. For example reading along the logs I remember a command line ending with: "..... -t ccfce". If I sned the command without that option I obtain the output bin file that doesn't work (flashing it I get, at boot time "corrupted kernel"

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by desigabri <desigabri@…>

hi, compiled v17107 trunk from scratch isn't able to compile some bin images returning error: "-t option doesn't exist" and other descriptions about the trouble and the list of otions available where you can see that "-t" is not listed. For example reading along the logs I remember a command line ending with: "..... -t ccfce". If I sned the command without that option I obtain the output bin file that doesn't work (flashing it I get, at boot time "corrupted kernel"

desigabri@debian5:~/trunk/openwrt$ /home/desigabri/trunk/openwrt/staging_dir/host/bin/imagetag -i /home/desigabri/trunk/openwrt/build_dir/linux-brcm63xx/vmlinux.lzma.cfe -f /home/desigabri/trunk/openwrt/build_dir/linux-brcm63xx/root.squashfs -o /home/desigabri/trunk/openwrt/bin/openwrt-AGPF-S0-squashfs-agv2+w-cfe.bin -b AGPF-S0 -c 6358 -e 0x80010000 -l 0x80010000 -v 8 -m IMAGE -k 0x20000 -n 0x20000 -t ag306
Broadcom image tagger - v0.1.2
Copyright (C) 2008 Axel Gembe
/home/desigabri/trunk/openwrt/staging_dir/host/bin/imagetag: invalid option -- t
Usage: imagetag <parameters>

-i <kernel> - The LZMA compressed kernel file to include in the image
-f <rootfs> - The RootFS file to include in the image
-o <bin> - The output file
-b <boardid> - The board id to set in the image (i.e. "96345GW2")
-c <chipid> - The chip id to set in the image (i.e. "6345")
-s <flashstart> - Flash start address (i.e. "0xBFC00000"
-n <fwoffset> -
-v <version> -
-m <magic2> -
-k <flash_bs> - flash erase block size
-l <loadaddr> - Address where the kernel expects to be loaded (defaults to 0x80010000)
-e <entry> - Address where the kernel entry point will end up
-p <profile> - Specify profile for particular devices, use 'list' to see available devices
-h - Displays this text

desigabri@debian5:~/trunk/openwrt$

IF I cut the -t option, it compiles the kernel image but after flashed it produces this bootlog

bootlog:

CFE version 1.0.37-8.7 for AGPF 0004 BCM96358 (32bit,SP,BE)
Build Date: Fri Oct 26 15:01:06 CEST 2007 ( claudio2@buildserver )
Copyright (C) 2000-2005 Broadcom Corporation.

Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.
Flash info:
device_id : 2201
meminfo.nsect : 128
totalSize : 1000000
query.num_erase_blocks : 1
query.device_size : 1000000
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
CPU running TP0
Total memory: 33554432 bytes (32MB)

Total memory used by CFE: 0x80401000 - 0x80528BD0 (1211344)
Initialized Data: 0x8041E880 - 0x804203E0 (7008)
BSS Area: 0x804203E0 - 0x80426BD0 (26608)
Local Heap: 0x80426BD0 - 0x80526BD0 (1048576)
Stack Area: 0x80526BD0 - 0x80528BD0 (8192)
Text (code) segment: 0x80401000 - 0x8041E878 (120952)
Boot area (physical): 0x00529000 - 0x00569000
Relocation Factor: I:00000000 - D:00000000

Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : openrg.img
Boot delay (0-9 seconds) : 1
Board Id (0-2) : AGPF-S0
Number of MAC Addresses (1-32) : 13
Base MAC Address : 02:10:18:01:00:01
PSI Size (1-64) KBytes : 24
Main Thread Number [0|1] : 0

* Press any key to stop auto run (1 seconds) *
Auto run second count down: 0
Sizeof Tag Used : 256
One only valid image tag found ...
Trying to boot from FIRST image copy (0x80010000) ...

latest imageSequence found: ... 0

  • Flash Kernel Address: 0xBE020100
  • Tag->kernelLen: 0x000BFF00
  • Flash Kernel Address: 0xBE020100

Linux kernel CRC error. Corrupted image?

  • Tag Kernel crc : 0x0B653D0D - calculated: 0xFE3EE396

web info: Waiting for connection on socket 0.
CFE>

comment:2 Changed 7 years ago by Daniel Dickinson <crazycshore@…>

I've just compiled a few times from scratch and had no problems. Can you try again. If you still have a problem, what machine/OS are you compiling on?

comment:3 Changed 7 years ago by florian

  • Resolution set to worksforme
  • Status changed from new to closed

comment:4 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.