Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91563
b: refs/heads/master
c: b18796d
h: refs/heads/master
i:
  91561: f124695
  91559: d919d1e
v: v3
  • Loading branch information
Kumar Gala authored and Paul Mackerras committed Apr 16, 2008
1 parent ecd849a commit 062b2bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 366234f657879aeb7a1e2ca582f2f24f3fae9269
refs/heads/master: b18796d32a35ca4d996c584c3bb6d0a4f8a7d310
5 changes: 4 additions & 1 deletion trunk/arch/powerpc/boot/wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,13 @@ if [ -n "$version" ]; then
uboot_version="-n Linux-$version"
fi

# physical offset of kernel image
membase=`${CROSS}objdump -p "$kernel" | grep -m 1 LOAD | awk '{print $7}'`

case "$platform" in
uboot)
rm -f "$ofile"
mkimage -A ppc -O linux -T kernel -C gzip -a 00000000 -e 00000000 \
mkimage -A ppc -O linux -T kernel -C gzip -a $membase -e $membase \
$uboot_version -d "$vmz" "$ofile"
if [ -z "$cacheit" ]; then
rm -f "$vmz"
Expand Down

0 comments on commit 062b2bd

Please sign in to comment.