6. Mailbox_write_test
6.1. Function description:
This demo shows the kernel read command from mailbox writed by host.
For host cpu, first link to mailbox, then write command to mailbox.
For kernel cpu, read command from mailbox to compare.
Note
Need to kernel & host cpu running the same case in parallel, the program distinguish which is kernel or host according the core id to running program.
6.2. Test result:
If the host cpu link to mailbox and the data read out from mailbox is same with the data writed to mailbox by host, then print pass, if not print fail.
6.3. IO connection:
None