Barebox crashes when the first console should stop
Juergen Beisert
jbe at pengutronix.de
Thu Jul 26 08:13:17 EDT 2012
Environemnt: a system with a generic serial console and OTG capability.
The generic serial console comes up when the system starts. After that I
add the USB console with:
usbmode device
usbserial -a
cs1.active=ioe
After these commands both consoles are working as expected. But then I
want to disable the generic serial console:
barebox at Bosch SCM:/ cs0.active=
unable to handle NULL pointer dereference at address 0x00000000
pc : [<4301e0dc>] lr : [<43004d40>]
sp : 40fff960 ip : 0000000a fp : 00000000
r10: 00000000 r9 : 00000000 r8 : 410ebda8
r7 : 00000000 r6 : 41002ad8 r5 : 00000000 r4 : 410029b4
r3 : 43004d1c r2 : 00000003 r1 : 00000069 r0 : 00000000
Flags: nZCv IRQs off FIQs off Mode SVC_32
[<4301e0dc>] (_strchr+0x18/0x34) from [<43004d40>] (console_std_set+0x24/0xe4)
[<43004d40>] (console_std_set+0x24/0xe4) from [<4301f314>] (dev_set_param+0x74/0x8c)
[<4301f314>] (dev_set_param+0x74/0x8c) from [<430057dc>] (setenv+0x60/0xd4)
[<430057dc>] (setenv+0x60/0xd4) from [<4300100c>] (set_local_var.isra.2+0x58/0x78)
[<4300100c>] (set_local_var.isra.2+0x58/0x78) from [<430016d4>] (run_list_real+0x504/0x9dc)
[<430016d4>] (run_list_real+0x504/0x9dc) from [<43001cf4>] (parse_stream_outer+0x148/0x238)
[<43001cf4>] (parse_stream_outer+0x148/0x238) from [<4300207c>] (run_shell+0x3c/0x7c)
[<4300207c>] (run_shell+0x3c/0x7c) from [<43004c38>] (execute_command+0x38/0x7c)
[<43004c38>] (execute_command+0x38/0x7c) from [<43001aac>] (run_list_real+0x8dc/0x9dc)
[<43001aac>] (run_list_real+0x8dc/0x9dc) from [<43001608>] (run_list_real+0x438/0x9dc)
[<4302e184>] (unwind_backtrace+0x0/0x9c) from [<4301eee0>] (panic+0x28/0x3c)
[<4301eee0>] (panic+0x28/0x3c) from [<4302e65c>] (do_exception+0x10/0x14)
[<4302e65c>] (do_exception+0x10/0x14) from [<4302e6e8>] (do_data_abort+0x2c/0x38)
[<4302e6e8>] (do_data_abort+0x2c/0x38) from [<4302e3b0>] (data_abort+0x50/0x60)
Known/intended behaviour?
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
More information about the barebox
mailing list