Skip to contentSkip to conversation

More dtc changes

DISCUSSION David Gibson 3 participants 5 messages Jun 16, 2005 – Jun 17, 2005

lore
Share & tools
lore
#0 lore raw

I now have a git tree for the device tree compiler up at
http://www.ozlabs.org/~dgibson/dtc/dtc.git

Notable changes since the last tarball release:
- Elementary support for labels. Labels can go on nodes or
properties in the source tree and are exported to assembler output as usable symbols
- phandle reference support. Cell data (< .. >) can include
references of the form &/path/to/some/node and will be replaced in the output tree with the output node's phandle. A phandle will be generated for the target node if it doesn't already have one.

There's a tarball release as well
http://www.ozlabs.org/~dgibson/dtc/dtc.tar.gz

Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/people/dgibson
#1 lore raw
Quoted 2 lines · David Gibson

I now have a git tree for the device tree compiler up at
http://www.ozlabs.org/~dgibson/dtc/dtc.git

Very Cool!

And, um, rats. So, I'm the victim of an aggressive and anti-social IT Firewall poo-poolicy.... Or maybe I am just being dumb and haven't Googled up the Right Magic.

Is there a way to set an HTTP Proxy definition, flag, parameter, environment variable, or other doo-dad that will help me cg-pull/git-http-pull through my firewall?

Alternatively, any chance we can convert it to, or add, an rsync tree?

Quoted 2 lines

There's a tarball release as well
http://www.ozlabs.org/~dgibson/dtc/dtc.tar.gz

If not, I'll have to be doing the tarball thing...

Thanks,
jdl

#2 lore raw
Quoted 20 lines · Jon Loeliger
Quoted 2 lines · David Gibson

I now have a git tree for the device tree compiler up at
http://www.ozlabs.org/~dgibson/dtc/dtc.git

Very Cool!

And, um, rats. So, I'm the victim of an aggressive and anti-social IT Firewall poo-poolicy.... Or maybe I am just being dumb and haven't Googled up the Right Magic.

Is there a way to set an HTTP Proxy definition, flag, parameter, environment variable, or other doo-dad that will help me cg-pull/git-http-pull through my firewall?

Alternatively, any chance we can convert it to, or add, an rsync tree?

Quoted 8 lines
Quoted 2 lines

There's a tarball release as well
http://www.ozlabs.org/~dgibson/dtc/dtc.tar.gz

If not, I'll have to be doing the tarball thing...

Thanks,
jdl

It ain't efficient and it is pull-only, but it works:

$ mkdir test
$ cd test
test$ ll
total 0
$ cg-clone http://www.ozlabs.org/~dgibson/dtc/dtc.git
defaulting to local storage area
17:13:12 URL:http://www.ozlabs.org/%7Edgibson/dtc/dtc.git/refs/heads/master [41/41] -> "refs/heads/origin" [1]
progress: 40 objects, 59841 bytes

FINISHED --17:13:25--
Downloaded: 951 bytes in 1 files
New branch: 81f2e89c7551ef44a6203ab1cbb8228d09202572
Cloned (origin http://www.ozlabs.org/~dgibson/dtc/dtc.git available as branch "origin") Cloned to dtc/ (origin http://www.ozlabs.org/~dgibson/dtc/dtc.git available as branch "origin")

$ ll dtc/
total 116
-rw-r--r--  1 vanbaren cideas   446 2005-06-16 17:13 comment-test.dts
-rw-r--r--  1 vanbaren cideas 17992 2005-06-16 17:13 COPYING
-rw-r--r--  1 vanbaren cideas  4776 2005-06-16 17:13 data.c
-rw-r--r--  1 vanbaren cideas  4896 2005-06-16 17:13 dtc.c
-rw-r--r--  1 vanbaren cideas  4704 2005-06-16 17:13 dtc.h
-rw-r--r--  1 vanbaren cideas  2989 2005-06-16 17:13 dtc-lexer.l
-rw-r--r--  1 vanbaren cideas  2890 2005-06-16 17:13 dtc-parser.y
-rw-r--r--  1 vanbaren cideas 19400 2005-06-16 17:13 flattree.c
-rw-r--r--  1 vanbaren cideas  2324 2005-06-16 17:13 fstree.c
-rw-r--r--  1 vanbaren cideas 15506 2005-06-16 17:13 livetree.c
-rw-r--r--  1 vanbaren cideas   559 2005-06-16 17:13 Makefile
-rw-r--r--  1 vanbaren cideas   707 2005-06-16 17:13 test.dts
drwxr-xr-x  2 vanbaren cideas  4096 2005-06-16 17:13 tests
-rw-r--r--  1 vanbaren cideas   566 2005-06-16 17:13 TODO
-rw-r--r--  1 vanbaren cideas  3000 2005-06-16 17:13 treesource.c
$ du -s *
1368    dtc

gvb

#3 lore raw
Quoted 3 lines · Jerry Van Baren
Quoted 3 lines

And, um, rats. So, I'm the victim of an aggressive and anti-social IT Firewall poo-poolicy.... Or maybe I am just being dumb and haven't Googled up the Right Magic.

Door number 3, I am dumb.

Quoted 6 lines
Quoted 3 lines

Is there a way to set an HTTP Proxy definition, flag, parameter, environment variable, or other doo-dad that will help me cg-pull/git-http-pull through my firewall?

It ain't efficient and it is pull-only, but it works:

Good enough....

Quoted 6 lines
$ cg-clone http://www.ozlabs.org/~dgibson/dtc/dtc.git
defaulting to local storage area
17:13:12 
URL:http://www.ozlabs.org/%7Edgibson/dtc/dtc.git/refs/heads/master
[41/41] -> "refs/heads/origin" [1]
progress: 40 objects, 59841 bytes

Hmmm... So, I tested this mess again. This time, I did NOT use our stupid SOCKS proxy, but rather the built-in HTTP proxy foo sort of like this in an environment variable sort of like this:

setenv http_proxy http://$user:$password@$proxy_machine:$proxy_port

cashmere.sps.mot.com 894 % socksify cg-pull origin [email protected] sockspassword:
cg-pull: objects pull failed

cashmere.sps.mot.com 895 % cg-pull origin
16:24:36 URL:http://www.ozlabs.org/%7Edgibson/dtc/dtc.git/refs/heads/master [41/41] -> "refs/heads/origin" [1] FINISHED --16:24:48--

And then it just stupidly worked.

Pay no attention to my questions,
jdl

#4 lore raw
In reply to Jon Loeliger
Quoted 10 lines · Jon Loeliger
Quoted 2 lines · David Gibson

I now have a git tree for the device tree compiler up at
http://www.ozlabs.org/~dgibson/dtc/dtc.git

Very Cool!

And, um, rats. So, I'm the victim of an aggressive and anti-social IT Firewall poo-poolicy.... Or maybe I am just being dumb and haven't Googled up the Right Magic.

Quoted 6 lines

Is there a way to set an HTTP Proxy definition, flag, parameter, environment variable, or other doo-dad that will help me cg-pull/git-http-pull through my firewall?

Alternatively, any chance we can convert it to, or add, an rsync tree?

Oh, oops, I meant to set up an rsync tree, but forgot. It's now done, and you can also pull it from:
ozlabs.org::dtc/dtc.git

Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/people/dgibson