All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12116] New: console prompt does not appear after login
@ 2019-08-17 18:42 bugzilla at busybox.net
  2019-08-17 20:48 ` [Buildroot] [Bug 12116] " bugzilla at busybox.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-08-17 18:42 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12116

            Bug ID: 12116
           Summary: console prompt does not appear after login
           Product: buildroot
           Version: 2018.08.4
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: daniel.lezcano at linaro.org
                CC: buildroot at uclibc.org
  Target Milestone: ---

Welcome to Buildroot
buildroot login: root
Jan  1 05:13:49 login[37]: root login on 'console'

And stuck there.

buildroot-2018.05.3 works fine

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12116] console prompt does not appear after login
  2019-08-17 18:42 [Buildroot] [Bug 12116] New: console prompt does not appear after login bugzilla at busybox.net
@ 2019-08-17 20:48 ` bugzilla at busybox.net
  2019-08-17 20:53 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-08-17 20:48 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12116

--- Comment #1 from Daniel Lezcano <daniel.lezcano@linaro.org> ---
Output for buildroot-2018.05.03 (working):

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.11.0 (dlezcano at mai) (gcc version 6.4.0
(Buildroot 2018.05.3-g1e8dd19-dirty) ) #2 PREEMPT Sat Aug 17 18:30:18 CEST 2019
[    0.000000] CPU: ARMv7-M [410fc241] revision 1 (ARMv7M), cr=00000000
[    0.000000] CPU: unknown data cache, unknown instruction cache
[    0.000000] OF: fdt: Machine model: STMicroelectronics STM32F469i-DISCO
board
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total
pages: 4064
[    0.000000] Kernel command line: root=/dev/ram
[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Memory: 15944K/16384K available (1065K kernel code, 99K rwdata,
352K rodata, 59K init, 106K bss, 440K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0x00000000 - 0x00001000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0x00000000 - 0xffffffff   (4095 MB)
[    0.000000]     lowmem  : 0x00000000 - 0x01000000   (  16 MB)
[    0.000000]       .text : 0x08008000 - 0x0816a6c8   (1418 kB)
[    0.000000]       .init : 0x0000a000 - 0x0000d000   (  12 kB)
[    0.000000]       .data : 0x00008000 - 0x00023f20   ( 112 kB)
[    0.000000]        .bss : 0x00023f20 - 0x0003e848   ( 107 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] /soc/interrupt-controller at 40013c00: 23 External IRQs detected
[    0.000000] clocksource: arm_system_timer: mask: 0xffffff max_cycles:
0xffffff, max_idle_ns: 331816030 ns
[    0.000000] ARM System timer initialized as clocksource
[    0.000000] /soc/timer at 40000c00: STM32 clockevent driver initialized (32
bits)
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps
every 21474836475000000ns
[    0.010000] Calibrating delay loop... 118.68 BogoMIPS (lpj=593408)
[    0.100000] pid_max: default: 4096 minimum: 301
[    0.100000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110000] devtmpfs: initialized
[    0.140000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 19112604462750000 ns
[    0.140000] pinctrl core: initialized pinctrl subsystem
[    0.210000] stm32-dma 40026000.dma-controller: STM32 DMA driver registered
[    0.220000] stm32-dma 40026400.dma-controller: STM32 DMA driver registered
[    0.220000] clocksource: Switched to clocksource arm_system_timer
[    0.650000] workingset: timestamp_bits=30 max_order=12 bucket_order=0
[    0.690000] io scheduler noop registered (default)
[    0.690000] io scheduler mq-deadline registered
[    0.690000] stm32f429-pinctrl soc:pin-controller: GPIOA bank added
[    0.690000] stm32f429-pinctrl soc:pin-controller: GPIOB bank added
[    0.690000] stm32f429-pinctrl soc:pin-controller: GPIOC bank added
[    0.690000] stm32f429-pinctrl soc:pin-controller: GPIOD bank added
[    0.700000] stm32f429-pinctrl soc:pin-controller: GPIOE bank added
[    0.700000] stm32f429-pinctrl soc:pin-controller: GPIOF bank added
[    0.700000] stm32f429-pinctrl soc:pin-controller: GPIOG bank added
[    0.700000] stm32f429-pinctrl soc:pin-controller: GPIOH bank added
[    0.700000] stm32f429-pinctrl soc:pin-controller: GPIOI bank added
[    0.700000] stm32f429-pinctrl soc:pin-controller: GPIOJ bank added
[    0.700000] stm32f429-pinctrl soc:pin-controller: GPIOK bank added
[    0.710000] stm32f429-pinctrl soc:pin-controller: Pinctrl STM32 initialized
[    0.710000] STM32 USART driver initialized
[    0.720000] 40004800.serial: ttyS0 at MMIO 0x40004800 (irq = 32, base_baud =
2812500) is a stm32-usart
[    1.070000] console [ttyS0] enabled
[    1.090000] stm32_rtc 40002800.rtc: rtc core: registered 40002800.rtc as
rtc0
[    1.100000] stm32_rtc 40002800.rtc: Date/Time must be initialized
[    1.120000] stm32_rtc 40002800.rtc: setting system clock to 2000-01-01
08:05:45 UTC (946713945)
[    1.140000] Freeing unused kernel memory: 12K
[    1.140000] This architecture does not have kernel memory protection.
[    1.570000] random: fast init done
Initializing random number generator... done.

Welcome to Buildroot
buildroot login: root
Jan  1 08:06:40 login[37]: root login on 'console'
~ # uname -a
Linux buildroot 4.11.0 #2 PREEMPT Sat Aug 17 18:30:18 CEST 2019 armv7ml
GNU/Linux

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12116] console prompt does not appear after login
  2019-08-17 18:42 [Buildroot] [Bug 12116] New: console prompt does not appear after login bugzilla at busybox.net
  2019-08-17 20:48 ` [Buildroot] [Bug 12116] " bugzilla at busybox.net
@ 2019-08-17 20:53 ` bugzilla at busybox.net
  2019-08-17 21:56 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-08-17 20:53 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12116

--- Comment #2 from Daniel Lezcano <daniel.lezcano@linaro.org> ---
Output for buildroot-2018.08.04: does not show the prompt but give output of
the command

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.11.0 (dlezcano at mai) (gcc version 7.3.0
(Buildroot 2018.08.4-g1e8dd19-dirty) ) #2 PREEMPT Sat Aug 17 20:22:21 CEST 2019
[    0.000000] CPU: ARMv7-M [410fc241] revision 1 (ARMv7M), cr=00000000
[    0.000000] CPU: unknown data cache, unknown instruction cache
[    0.000000] OF: fdt: Machine model: STMicroelectronics STM32F469i-DISCO
board
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total
pages: 4064
[    0.000000] Kernel command line: root=/dev/ram
[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Memory: 15944K/16384K available (1062K kernel code, 99K rwdata,
352K rodata, 59K init, 106K bss, 440K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0x00000000 - 0x00001000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0x00000000 - 0xffffffff   (4095 MB)
[    0.000000]     lowmem  : 0x00000000 - 0x01000000   (  16 MB)
[    0.000000]       .text : 0x08008000 - 0x08169ad8   (1415 kB)
[    0.000000]       .init : 0x0000a000 - 0x0000d000   (  12 kB)
[    0.000000]       .data : 0x00008000 - 0x00023f20   ( 112 kB)
[    0.000000]        .bss : 0x00023f20 - 0x0003e848   ( 107 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] /soc/interrupt-controller at 40013c00: 23 External IRQs detected
[    0.000000] clocksource: arm_system_timer: mask: 0xffffff max_cycles:
0xffffff, max_idle_ns: 331816030 ns
[    0.000000] ARM System timer initialized as clocksource
[    0.000000] /soc/timer at 40000c00: STM32 clockevent driver initialized (32
bits)
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps
every 21474836475000000ns
[    0.010000] Calibrating delay loop... 118.68 BogoMIPS (lpj=593408)
[    0.100000] pid_max: default: 4096 minimum: 301
[    0.100000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110000] devtmpfs: initialized
[    0.140000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 19112604462750000 ns
[    0.140000] pinctrl core: initialized pinctrl subsystem
[    0.210000] stm32-dma 40026000.dma-controller: STM32 DMA driver registered
[    0.220000] stm32-dma 40026400.dma-controller: STM32 DMA driver registered
[    0.220000] clocksource: Switched to clocksource arm_system_timer
[    0.660000] workingset: timestamp_bits=30 max_order=12 bucket_order=0
[    0.700000] io scheduler noop registered (default)
[    0.700000] io scheduler mq-deadline registered
[    0.710000] stm32f429-pinctrl soc:pin-controller: GPIOA bank added
[    0.710000] stm32f429-pinctrl soc:pin-controller: GPIOB bank added
[    0.710000] stm32f429-pinctrl soc:pin-controller: GPIOC bank added
[    0.710000] stm32f429-pinctrl soc:pin-controller: GPIOD bank added
[    0.720000] stm32f429-pinctrl soc:pin-controller: GPIOE bank added
[    0.720000] stm32f429-pinctrl soc:pin-controller: GPIOF bank added
[    0.720000] stm32f429-pinctrl soc:pin-controller: GPIOG bank added
[    0.720000] stm32f429-pinctrl soc:pin-controller: GPIOH bank added
[    0.720000] stm32f429-pinctrl soc:pin-controller: GPIOI bank added
[    0.720000] stm32f429-pinctrl soc:pin-controller: GPIOJ bank added
[    0.720000] stm32f429-pinctrl soc:pin-controller: GPIOK bank added
[    0.720000] stm32f429-pinctrl soc:pin-controller: Pinctrl STM32 initialized
[    0.730000] STM32 USART driver initialized
[    0.730000] 40004800.serial: ttyS0 at MMIO 0x40004800 (irq = 32, base_baud =
2812500) is a stm32-usart
[    1.090000] console [ttyS0] enabled
[    1.110000] stm32_rtc 40002800.rtc: rtc core: registered 40002800.rtc as
rtc0
[    1.110000] stm32_rtc 40002800.rtc: Date/Time must be initialized
[    1.140000] stm32_rtc 40002800.rtc: setting system clock to 2000-01-01
08:08:51 UTC (946714131)
[    1.150000] Freeing unused kernel memory: 12K
[    1.160000] This architecture does not have kernel memory protection.
can't run '/sbin/swapon': No such file or directory
[    1.560000] random: fast init done
Initializing random number generator... done.

Welcome to Buildroot
buildroot login: root
Jan  1 08:09:01 login[37]: root login on 'console'
uname -a
Linux buildroot 4.11.0 #2 PREEMPT Sat Aug 17 20:22:21 CEST 2019 armv7ml
GNU/Linux

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12116] console prompt does not appear after login
  2019-08-17 18:42 [Buildroot] [Bug 12116] New: console prompt does not appear after login bugzilla at busybox.net
  2019-08-17 20:48 ` [Buildroot] [Bug 12116] " bugzilla at busybox.net
  2019-08-17 20:53 ` bugzilla at busybox.net
@ 2019-08-17 21:56 ` bugzilla at busybox.net
  2019-09-02 15:09 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-08-17 21:56 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12116

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at buildroot.uclibc |christophe.priouzeau at st.com
                   |.org                        |

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12116] console prompt does not appear after login
  2019-08-17 18:42 [Buildroot] [Bug 12116] New: console prompt does not appear after login bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2019-08-17 21:56 ` bugzilla at busybox.net
@ 2019-09-02 15:09 ` bugzilla at busybox.net
  2019-09-02 16:58 ` bugzilla at busybox.net
  2019-09-03 12:56 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-09-02 15:09 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12116

Christophe Priouzeau <christophe.priouzeau@st.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #3 from Christophe Priouzeau <christophe.priouzeau@st.com> ---
Same issue as https://bugs.busybox.net/show_bug.cgi?id=11746

The issue are due to a bad assembler generation by binutils tools with thumb
code on kernel. 
There is two way to solver it:
1. use an old binutils tools 2.28 (see commit
b3dddb0a787352bb836ce972e4f07b59d79068e7 package/binutils: default to 2.28 for
Cortex-M targets)
2. use a more recent kernel which generate a correct assembler.


I will try to provide a new kernel configuration.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12116] console prompt does not appear after login
  2019-08-17 18:42 [Buildroot] [Bug 12116] New: console prompt does not appear after login bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2019-09-02 15:09 ` bugzilla at busybox.net
@ 2019-09-02 16:58 ` bugzilla at busybox.net
  2019-09-03 12:56 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-09-02 16:58 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12116

--- Comment #4 from Daniel Lezcano <daniel.lezcano@linaro.org> ---
Hi Christophe,

thanks for the information. Shall I mark this bug as duplicate?

For my information what do you mean by "use a more recent kernel which generate
a correct assembler"?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 12116] console prompt does not appear after login
  2019-08-17 18:42 [Buildroot] [Bug 12116] New: console prompt does not appear after login bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2019-09-02 16:58 ` bugzilla at busybox.net
@ 2019-09-03 12:56 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-09-03 12:56 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12116

Daniel Lezcano <daniel.lezcano@linaro.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from Daniel Lezcano <daniel.lezcano@linaro.org> ---


*** This bug has been marked as a duplicate of bug 11746 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-09-03 12:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-17 18:42 [Buildroot] [Bug 12116] New: console prompt does not appear after login bugzilla at busybox.net
2019-08-17 20:48 ` [Buildroot] [Bug 12116] " bugzilla at busybox.net
2019-08-17 20:53 ` bugzilla at busybox.net
2019-08-17 21:56 ` bugzilla at busybox.net
2019-09-02 15:09 ` bugzilla at busybox.net
2019-09-02 16:58 ` bugzilla at busybox.net
2019-09-03 12:56 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.