[ARM]
move checking for the tgz after debug init, and print something when found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32337 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
78db3ad125
commit
89fd3a7d20
@ -149,16 +149,18 @@ start_raw(int argc, char **argv)
|
|||||||
args.platform.boot_tgz_data = NULL;
|
args.platform.boot_tgz_data = NULL;
|
||||||
args.platform.boot_tgz_size = 0;
|
args.platform.boot_tgz_size = 0;
|
||||||
|
|
||||||
// if we get passed a uimage, try to find the second blob
|
|
||||||
if (gUImage)
|
|
||||||
image_multi_getimg(gUImage, 1, &args.platform.boot_tgz_data,
|
|
||||||
&args.platform.boot_tgz_size);
|
|
||||||
|
|
||||||
|
|
||||||
serial_init();
|
serial_init();
|
||||||
console_init();
|
console_init();
|
||||||
cpu_init();
|
cpu_init();
|
||||||
|
|
||||||
|
// if we get passed a uimage, try to find the second blob
|
||||||
|
if (gUImage && image_multi_getimg(gUImage, 1, &args.platform.boot_tgz_data,
|
||||||
|
&args.platform.boot_tgz_size))
|
||||||
|
dprintf("Found boot tgz @ %p, %d bytes\n", args.platform.boot_tgz_data,
|
||||||
|
args.platform.boot_tgz_size);
|
||||||
|
|
||||||
{ //DEBUG:
|
{ //DEBUG:
|
||||||
int i;
|
int i;
|
||||||
dprintf("argc = %d\n", argc);
|
dprintf("argc = %d\n", argc);
|
||||||
@ -167,6 +169,7 @@ start_raw(int argc, char **argv)
|
|||||||
dprintf("os: %d\n", gUBootOS);
|
dprintf("os: %d\n", gUBootOS);
|
||||||
dprintf("gd @ %p\n", gGD);
|
dprintf("gd @ %p\n", gGD);
|
||||||
dprintf("gd->bd @ %p\n", gGD->bd);
|
dprintf("gd->bd @ %p\n", gGD->bd);
|
||||||
|
dprintf("fb_base %p\n", gGD->fb_base);
|
||||||
dprintf("uimage @ %p\n", gUImage);
|
dprintf("uimage @ %p\n", gUImage);
|
||||||
if (gUImage)
|
if (gUImage)
|
||||||
dump_uimage(gUImage);
|
dump_uimage(gUImage);
|
||||||
|
Loading…
Reference in New Issue
Block a user