Modify

Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#11805 closed enhancement (fixed)

[brcm63xx] /proc/cpuinfo cannot be available during preinit

Reported by: joel_ejc@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: preinit Cc:

Description

Hi,
I notice in my bootlog this message

[    0.644000] Freeing unused kernel memory: 200k freed
awk: /proc/cpuinfo: No such file or directory

It's provided by lib/brcm63xx.sh which contents

brcm63xx_detect() {
        board_name=$(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc/cpuinfo)

Just for avoiding this message, the presence of /proc/cpuinfo could be test as don in the proposed patch for this file.

This message is linked to the execution of
preinit/03_do_brcm63xx.sh
which does nothing as board_name is not initialized
but no matter because lib/brcm63xx.sh will be executed again by
05_init_interfaces_brcm63xx
and
05_reset_button_brcm63xx

May be 03_do_brcm63xx.sh has no utility as it only containts a call to ./lib/brcm63xx.sh

Joel

Attachments (1)

aa (455 bytes) - added by joel_ejc@… 6 years ago.
Proposed patch: test /proc/cpuinfo in lib/brcm63xx.sh

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by joel_ejc@…

Proposed patch: test /proc/cpuinfo in lib/brcm63xx.sh

comment:1 Changed 5 years ago by florian

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

Fixed with r35504

comment:2 Changed 4 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.