|
FRDM-K64 PRINT not working
Hi,
I have a Freescale FRDM-K64 board. I cannot get the samples/hello_world/microkernel to work. Compiling with this:
# make O=out-arm BOARD=frdm_k64f
It compiles fine and the out-arm/zephyr.bin can
Hi,
I have a Freescale FRDM-K64 board. I cannot get the samples/hello_world/microkernel to work. Compiling with this:
# make O=out-arm BOARD=frdm_k64f
It compiles fine and the out-arm/zephyr.bin can
|
By
Anders Dam Kofoed <adk@...>
·
#2557
·
|
|
Re: 2/5 System Device Driver Modifications
That was my first thought but I don't think we have the liberty of changing our 1.0 APIs.
Andrew
That was my first thought but I don't think we have the liberty of changing our 1.0 APIs.
Andrew
|
By
Boie, Andrew P
·
#2556
·
|
|
Re: 2/5 System Device Driver Modifications
Sounds good. We can use the SYS_INIT_NAMED() macro for devices that
need a name for PM purpose.
Do you think we should replace SYS_INIT() with the new one? i.e. just
modify SYS_INIT(). I am ok
Sounds good. We can use the SYS_INIT_NAMED() macro for devices that
need a name for PM purpose.
Do you think we should replace SYS_INIT() with the new one? i.e. just
modify SYS_INIT(). I am ok
|
By
Thomas, Ramesh
·
#2555
·
|
|
Re: RFC: Use error codes from errno.h
Hi all,
Quoting Andre Guedes (2016-03-03 16:43:24)
Do we have a consensus about this?
After the "errno-drivers" patchset, DEV_* codes will be used only at 'board'
and 'arch' layers. Actually, all
Hi all,
Quoting Andre Guedes (2016-03-03 16:43:24)
Do we have a consensus about this?
After the "errno-drivers" patchset, DEV_* codes will be used only at 'board'
and 'arch' layers. Actually, all
|
By
Andre Guedes <andre.guedes@...>
·
#2554
·
|
|
Re: RFC: Use error codes from errno.h
Hi all,
Quoting Andre Guedes (2016-03-04 10:55:24)
I just sent a patchset with topic "errno-drivers" implementing what we have
discussed in this RFC. The patchset basically redefines DEV_* using -E*
Hi all,
Quoting Andre Guedes (2016-03-04 10:55:24)
I just sent a patchset with topic "errno-drivers" implementing what we have
discussed in this RFC. The patchset basically redefines DEV_* using -E*
|
By
Andre Guedes <andre.guedes@...>
·
#2553
·
|
|
Re: [users] Re: Re: Re: Re: Re: STM32F103x port
Something that also occurred to me: we have the same issue with our
boards/ directory. As Zephyr gets put on more and more boards we're
going to find ourselves with different variants of each board. I
Something that also occurred to me: we have the same issue with our
boards/ directory. As Zephyr gets put on more and more boards we're
going to find ourselves with different variants of each board. I
|
By
Boie, Andrew P
·
#2552
·
|
|
Re: 2/5 System Device Driver Modifications
I see. So at boot it could use device_get_binding() or DEVICE_GET() to
populate some data structure with device pointers which is then used at
suspend/resume time.
You're already calling .suspend the
I see. So at boot it could use device_get_binding() or DEVICE_GET() to
populate some data structure with device pointers which is then used at
suspend/resume time.
You're already calling .suspend the
|
By
Boie, Andrew P
·
#2551
·
|
|
Re: [users] Re: Re: Re: Re: Re: STM32F103x port
By
Maureen Helm
·
#2550
·
|
|
Re: 2/5 System Device Driver Modifications
The list enables the PMA to choose the order in which it
suspends/resumes the devices by creating its own ordered list based on
policies. If the iteration is done by the kernel then the order will
The list enables the PMA to choose the order in which it
suspends/resumes the devices by creating its own ordered list based on
policies. If the iteration is done by the kernel then the order will
|
By
Thomas, Ramesh
·
#2549
·
|
|
Re: 2/5 System Device Driver Modifications
If you just need to iterate over all devices this code does the job:
struct device *info;
for (info = __device_init_start; info != __device_init_end; info++) {
/* do stuff */
}
Could add an API to
If you just need to iterate over all devices this code does the job:
struct device *info;
for (info = __device_init_start; info != __device_init_end; info++) {
/* do stuff */
}
Could add an API to
|
By
Boie, Andrew P
·
#2548
·
|
|
Re: RFC: 2/5 System Device Driver Modifications
Hi,
"Thomas, Ramesh" <ramesh.thomas(a)intel.com> writes:
Ah, I see. Thanks.
Cheers,
--
Vinicius
Hi,
"Thomas, Ramesh" <ramesh.thomas(a)intel.com> writes:
Ah, I see. Thanks.
Cheers,
--
Vinicius
|
By
Vinicius Costa Gomes
·
#2547
·
|
|
Re: RFC: 2/5 System Device Driver Modifications
The power manager application should be able to handle that case. It
can either retry after trying other drivers, ignore that driver or abort
suspend.
The callback is not going to help because
The power manager application should be able to handle that case. It
can either retry after trying other drivers, ignore that driver or abort
suspend.
The callback is not going to help because
|
By
Thomas, Ramesh
·
#2546
·
|
|
Re: RFC: 2/5 System Device Driver Modifications
Hey Vinicius,
By
Kalowsky, Daniel <daniel.kalowsky@...>
·
#2545
·
|
|
Re: 2/5 System Device Driver Modifications
By
Kalowsky, Daniel <daniel.kalowsky@...>
·
#2544
·
|
|
Re: RFC: 2/5 System Device Driver Modifications
Hi,
"Thomas, Ramesh" <ramesh.thomas(a)intel.com> writes:
I am thinking about the case when DEV_BUSY is returned, I am considering
this would happen, for example, in the SPI case when there's a
Hi,
"Thomas, Ramesh" <ramesh.thomas(a)intel.com> writes:
I am thinking about the case when DEV_BUSY is returned, I am considering
this would happen, for example, in the SPI case when there's a
|
By
Vinicius Costa Gomes
·
#2543
·
|
|
Re: RFC Common System logging API Rev. 2
I really think that officially supporting both printk() and printf() in the kernel is a bad idea. Having Zephyr depend on libc APIs really isn't the way to go. Zephyr should not care whether printf()
I really think that officially supporting both printk() and printf() in the kernel is a bad idea. Having Zephyr depend on libc APIs really isn't the way to go. Zephyr should not care whether printf()
|
By
Boie, Andrew P
·
#2542
·
|
|
Re: 2/5 System Device Driver Modifications
Why do you need this for the LOAPIC/IOAPIC?
All its functions are private to the kernel and do not require a device pointer.
Please provide a specific example on where you would need to run
Why do you need this for the LOAPIC/IOAPIC?
All its functions are private to the kernel and do not require a device pointer.
Please provide a specific example on where you would need to run
|
By
Boie, Andrew P
·
#2541
·
|
|
Re: RFC Common System logging API Rev. 2
Yes, I got a similar comment on gerrit, this has been done in such way
because in the future more "back ends" are expected, i.e., other
functions could be called hence a "back end" menu choice. But
Yes, I got a similar comment on gerrit, this has been done in such way
because in the future more "back ends" are expected, i.e., other
functions could be called hence a "back end" menu choice. But
|
By
Saucedo Tejada, Genaro <genaro.saucedo.tejada@...>
·
#2540
·
|
|
Re: [users] Re: Re: Re: Re: Re: STM32F103x port
I am not in favour of adding the stm32 layer. I am all for adding the "SoC series" or "family layer”.
What this means:
instead of
arch/
arm/
soc/
stm32/
st_stm32f1/
st_stm32f2/
I am not in favour of adding the stm32 layer. I am all for adding the "SoC series" or "family layer”.
What this means:
instead of
arch/
arm/
soc/
stm32/
st_stm32f1/
st_stm32f2/
|
By
Nashif, Anas
·
#2539
·
|
|
Re: RFC Common System logging API Rev. 2
Hi Genaro,
Could you give the gerrit links?
Aren't these 2 being mitigated by CONFIG_STDOUT_CONSOLE ?
If this option is set: printf will be used, printk otherwise.
Tomasz
Hi Genaro,
Could you give the gerrit links?
Aren't these 2 being mitigated by CONFIG_STDOUT_CONSOLE ?
If this option is set: printf will be used, printk otherwise.
Tomasz
|
By
Tomasz Bursztyka
·
#2538
·
|