You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could the bootloader set up the PL011 UART before it hands over to the kernel? Currently I have code in bootc/linux@a91fe13 that sets up the serial port during the kernel decompression stage so that it can be used during decompression and then during early printk.
It would really be ideal if that was done outside the kernel as is more customary, and would mean you could boot compressed or uncompressed kernels and get the same behaviour.
I haven't actually managed to test this myself yet, but Simon has and assures me it's fine. So I'll close it for now and reopen it if I run into any trouble.
Activity
popcornmix commentedon May 9, 2012
You would like the code inside your arch_decomp_setup (5 peripheral writes) to be done by GPU before kernel starts?
Sounds okay.
bootc commentedon May 9, 2012
Yep, just so the UART is good to go. Perhaps even have a config.txt option to change the baud rate if someone wants a different speed.
popcornmix commentedon May 11, 2012
This link is no longer valid:
bootc/linux@a91fe13
I'd quite like to see the code in that commit.
bootc commentedon May 12, 2012
Ahh sorry I had a bit of a reorganisation on github so it's moved to:
bootc@a91fe13
bootc commentedon May 12, 2012
I should add, I will happily provide you with the generated ARM assembly if that's any help.
popcornmix commentedon May 15, 2012
Can you try:
http://dl.dropbox.com/u/3669512/start.elf
which should set up UART to 115200 with a 3MHz clock as requested elsewhere. You can modify these:
CONFIG(init_uart_baud)
CONFIG(init_uart_clock)
nomis commentedon May 15, 2012
This is the same start.elf from #16 and writes to the UART without prior initialisation by the kernel worked too.
popcornmix commentedon May 16, 2012
Firmware now pushed to github. Please close issue if happy.
bootc commentedon May 18, 2012
I haven't actually managed to test this myself yet, but Simon has and assures me it's fine. So I'll close it for now and reopen it if I run into any trouble.
Thanks!
Chris
mm: compaction: check pfn_valid when entering a new MAX_ORDER_NR_PAGE…
nfs: skip commit in releasepage if we're freeing memory for fs-relate…
Stonie commentedon Sep 6, 2012
This is not working for me, please see: #105
225 remaining items
dm: fix unconditional IO throttle caused by REQ_PREFLUSH
ACPICA: Apply pack(1) to union aml_resource
drm/amdgpu/userq: Fix lock contention in userq fence
perf unwind-libdw: skip non-regular files
perf debug: Add function symbols to dump_stack
Merge patch series "can: netlink: preparation before introduction of …
hfs: fix incorrect inode ID assignment in hfs_new_inode()
hfs: disable the updating of file access times (atime)
mm/swap: add cond_resched() in swap_reclaim_full_clusters to prevent …
mm/swap: add cond_resched() in swap_reclaim_full_clusters to prevent …
mm/swap: add cond_resched() in swap_reclaim_full_clusters to prevent …
mm/swap: add cond_resched() in swap_reclaim_full_clusters to prevent …
hfs: fix incorrect inode ID assignment in hfs_new_inode()
ocfs2: fix boundary check in ocfs2_check_dir_entry() to use buffer of…
ocfs2: fix boundary check in ocfs2_check_dir_entry() to use buffer of…