Skip to contentSkip to conversation

ARM: Add zboot support for SuperH Mobile ARM

RFC Superseded Magnus Damm 1 participant 1 message Oct 14, 2010 2 messages not in the archive

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

RFC v3 1/2 ARM: Add zboot support for SuperH Mobile ARM

Quoted 7 lines · Simon Horman

From: Kuninori Morimoto <[email protected]>

When CONFIG_ZBOOT_ROM is selected, the resulting zImage file will be small boot loader and may be burned to rom or flash.

This is the non-board-specific framework portion of this patch-set.

Quoted 7 lines

---
v2:
* As suggested by Magnus Damm; Implemented by Simon Horman ?- Initialise atags in framework and pass atags to kernel

[only keeping reworked atags]

Quoted 6 lines

+__atags:@ tag #1
+ ? ? ? .long ? 12 ? ? ? ? ? ? ? ? ? ? ?@ tag->hdr.size = tag_size(tag_core);
+ ? ? ? .long ? 0x54410001 ? ? ? ? ? ? ?@ tag->hdr.tag = ATAG_CORE;
+ ? ? ? .long ? 0 ? ? ? ? ? ? ? ? ? ? ? @ tag->u.core.flags = 0;
+ ? ? ? .long ? 0 ? ? ? ? ? ? ? ? ? ? ? @ tag->u.core.pagesize = 0;
+ ? ? ? .long ? 0 ? ? ? ? ? ? ? ? ? ? ? @ tag->u.core.rootdev = 0;

Quoted 8 lines

+ ? ? ? @ tag #2
+ ? ? ? .long ? 8 ? ? ? ? ? ? ? ? ? ? ? @ tag->hdr.size = tag_size(tag_mem32);
+ ? ? ? .long ? 0x54410002 ? ? ? ? ? ? ?@ tag->hdr.tag = ATAG_MEM;
+ ? ? ? .long ? CONFIG_MEMORY_SIZE ? ? ?@ tag->u.mem.size = CONFIG_MEMORY_SIZE;
+ ? ? ? .long ? CONFIG_MEMORY_START ? ? @ @ tag->u.mem.start = CONFIG_MEMORY_START;
+ ? ? ? @ tag #3
+ ? ? ? .long ? 0 ? ? ? ? ? ? ? ? ? ? ? @ tag->hdr.size = 0
+ ? ? ? .long ? 0 ? ? ? ? ? ? ? ? ? ? ? @ tag->hdr.tag = ATAG_NONE;

Yes, this looks much better. Thank you!

/ magnus