arm - How uboot passes hardware information to kernel without using DTS -
i new embedded linux development. have port uboot , custom linux distribution new arm based board.
the uboot using (2009.08) not have arch , dts folders. suppose older version not use use dts pass hardware information kernel (v 3.0). have read lot dts here not enough information on internet (obsolete?) method of passing hardware information uboot kernel using. internet tells me there c files task both in uboot , kernel source code have sync'd, can 1 point me in direction? also, please correct me if assumptions wrong, , ask more info if needed.
the (old) method pass data between u-boot , linux arm kernel called atag memory list. information such usable memory regions, machine type , board information passed u-boot linux arm kernel using data list.
in u-boot, atags built in lib_arm/armlinux.c
(1.1.5) or lib_arm/bootm.c
(2009.08) or arch/arm/lib/bootm.c
(2015.04), , require configuration options config_setup_memory_tags , salient config_xxx_tag s.
atags processed linux in arch/arm/kernel/setup.c
.
for documentation see section 8 of this or this alt site.
addendum
also see slide #4 of presentation before-device_tree booting
Comments
Post a Comment